Instance Method
boundsOfSelection()boundsOfSelectionboundsOfSelection
The bounds of the current selection.
Declaration
func boundsOfSelection() -> NSRectDeclaration
- (NSRect) boundsOfSelection;Declaration
boundsOfSelection() -> NSRectDiscussion
The bounds include selected paths, components, anchors, and nodes when they belong to the layer.
Returns CGRectNull when the selection is empty or cannot be represented by bounds.
See Also
Bounds
The drawable bounds of the layer.
The overestimated bounds of the layer’s shapes.
Left edge of bounds()boundsbounds.
Bottom edge of bounds()boundsbounds.
Right edge of bounds()boundsbounds.
Top edge of bounds()boundsbounds.
The drawable bounds of the layer after applying a transform.
The drawable bounds of the layer after applying a transform.
The bounds of the current selection after applying a transform.