Instance Method
round(toGridFast:)roundToGridFast:roundToGridFast_
Rounds the position to a grid without registering undo or notifying the parent.
Declaration
func round(toGridFast grid: GSGridSettings)Declaration
- (void) roundToGridFast:(GSGridSettings) grid;Declaration
roundToGridFast_(grid: GSGridSettings)Parameters
gridThe grid settings used to round the position.
See Also
Position
The position in layer coordinates.
The position in layer coordinates for a layer width.
Sets the position in layer coordinates for a layer width.
The position without orientation adjustment.
Sets the position without registering undo or notifying the parent.
Sets the unrounded position and rounds the position to a grid without registering undo or notifying the parent.
The unrounded position in layer coordinates.
The unrounded position in layer coordinates for a layer width.
The unrounded position without orientation adjustment.
Rounds the position to a grid.
The orientation of the element position.