Instance Method
setPositionFast(_:grid:) setPositionFast:grid: setPositionFast_grid_
Sets the unrounded position and rounds the position to a grid without registering undo or notifying the path.
Declaration
func setPositionFast(_ position: NSPoint, grid: GSGridSettings)Declaration
- (void) setPositionFast:(NSPoint) position grid:(GSGridSettings) grid;Declaration
setPositionFast_grid_(position: NSPoint, grid: GSGridSettings)Parameters
gridThe grid settings used to round the position.
Discussion
Use this method when managing undo and change notifications separately.
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 path.
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.
Rounds the position to a grid without registering undo or notifying the path.