Instance Method
handleShapes(from:)handleShapesFromShapes:handleShapesFromShapes_
Returns subjects reordered such that the relative order is the same as in shapes, excluding any shapes in subjects that are members of a shape group in subjects.
Declaration
- (NSArray<GSShape *> *) handleShapesFromShapes:(NSArray<GSShape *> *) subjects;Declaration
handleShapesFromShapes_(subjects: list[GSShape]) -> list[GSShape]Discussion
Returns nil if the given array is empty or any of the shapes is not part of the layer.
See Also
Moving Shapes in Groups
Moves or copies the given shapes to a new location in the layer’s shape group tree.
Combines the given shapes into a new shape group.
Dissolves the given shape group by replacing it with its direct members.