GroupNode
A sub-tree of the scene graph: an ordered list of child nodes, with an optional bounds rectangle. A whole scene is just a GroupNode — the root's bounds is the viewport renderers paint into.
Groups are purely structural, with no style of their own: every ShapeNode leaf carries its own concrete style. There is no background field either — a scene backdrop is an ordinary full-bleed rectangle as the first child, prebuilt by backdrop.
The class is open, and every group-preserving operation returns through the copy hook — a subclass that overrides it comes back as its own class from each of them. Identity is exact-class and structural across children and bounds; see equals.
Constructors
Properties
Functions
Returns every ShapeNode in the tree — a depth-first, source-order traversal, so the resulting order is the paint order.