GraphicsObject currently only supports translation. This limits the kinds of games and animations students can create.
Desired solution
It would be nice if GraphicsObject — or at least GraphicsGroup — supported rotation and scaling. This would happen as a Graphics2D transform in the draw() methods, and as a point transform in the hit testing methods.
Problem
GraphicsObject
currently only supports translation. This limits the kinds of games and animations students can create.Desired solution
It would be nice if
GraphicsObject
— or at leastGraphicsGroup
— supported rotation and scaling. This would happen as aGraphics2D
transform in thedraw()
methods, and as a point transform in the hit testing methods.See also #3.