141

Transforming Shapes
Motivation

  • A TransformGroup enables you to build a new coordinate system relative to a parent
  • Translate
  • Rotate
  • Scale
  • Shapes built in the new coordinate system are relative to it
  • If you translate the coordinate system, the shapes move too