Given a variable with type Graphics, how do I cast it to Graphics2D in Scala? 2 Answers 2 Tags: scala