Instance Property
rootGroup
A shape group containing all shapes of the layer.
Declaration
var rootGroup: GSShapeGroup { get }Declaration
@property (readonly) GSShapeGroup * rootGroup;Declaration
rootGroup() -> GSShapeGroupDiscussion
This is the root of the shape tree structure of the layer. The shapes of this layer are the tree nodes in this hierarchical representation. Other shape groups create nested subtrees.
When processing the shapes of a layer while respecting this shape hierarchy, use this property and a tree traversal algorithm such as the enumeration methods on GSShapeGroup. Otherwise, use the shapes property for a linear representation of the shapes of the layer.
See Also
Shape Groups
The shape groups keyed by group identifier.
Reconfigures the shape groups (setting their member ranges) and reorders
shapesto match.