Group
is a specialized shape that can contain other shapes. It
inherits from Shape
, which in turn extends our Transformable
base.
This means a Group
has the same properties as any shape—x,
y, rotation, scaleX, scaleY, opacity,
and visible—and applying transformations (rotation, scaling, etc.)
to the group will affect all child shapes as a single unit.