Instance Method
getCopyOfContent(from:doSelection:) getCopyOfContentFromLayer:doSelection: getCopyOfContentFromLayer_doSelection_
Copies shapes, hints, anchors, and optionally selected nodes from another layer.
Declaration
func getCopyOfContent(from shadowLayer: GSLayer, doSelection: Bool)Declaration
- (void) getCopyOfContentFromLayer:(GSLayer *) shadowLayer doSelection:(BOOL) doSelection;Declaration
getCopyOfContentFromLayer_doSelection_(shadowLayer: GSLayer, doSelection: bool)Parameters
doSelectionWhether selected nodes should be mapped from the source layer to the copied shapes.
See Also
Shapes
An array of the shape objects defining the visual part of the layer.
Replaces the shapes without undo registration or KVO notifications.
Replaces the shapes and hints together.
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
An array of the shape objects defining the visual part of the layer.
Replaces the shapes without undo registration or KVO notifications.
Replaces the shapes and hints together.
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.