Instance Property
shapes
An array of the shape objects defining the visual part of the layer.
Declaration
var shapes: [GSShape] { get set }Declaration
@property (nonatomic, strong) NSArray<GSShape *> * shapes;Declaration
pyobjc_instanceMethods.shapes() -> list[GSShape]
pyobjc_instanceMethods.setShapes_(shapes: list[GSShape])Discussion
This is a linear representation of the shapes of the layer with the elements in stacking order from bottom to top. This array also contains shape group objects which are used to create a shape tree structure. When processing the shapes of a layer while respecting this shape hierarchy, use the rootGroup property instead.
See Also
Shapes
Replaces the shapes without undo registration or KVO notifications.
Replaces the shapes and hints together.
Copies shapes, hints, anchors, and optionally selected nodes from another layer.
The number of shapes in the layer.
The linear shape index of a shape, or
nilwhen the shape is not in the layer.Returns the shape at the given linear shape index.
Returns the shape at the given linear shape index without locking.
Removes shapes, anchors, hints, and selection from the layer.
See Also
Shapes
Replaces the shapes without undo registration or KVO notifications.
Replaces the shapes and hints together.
Copies shapes, hints, anchors, and optionally selected nodes from another layer.
The number of shapes in the layer.
Returns the linear shape index of a shape.
Returns the shape at the given linear shape index.
Returns the shape at the given linear shape index without locking.
Removes shapes, anchors, hints, and selection from the layer.