Transforming shapes
Motivation
- By default, all shapes are built within
a shared world coordinate system
- A TransformGroup builds a new
coordinate system for its children,
relative to its parent
- Translate to change relative position
- Rotate to change relative orientation
- Scale to change relative size
- Use in combination
- Shapes built in the new coordinate system are relative to it
- If you translate the coordinate system, the shapes move too