Instance Method
roundSelectedCoordinates(_:)roundSelectedCoordinates:roundSelectedCoordinates_
Rounds selected element coordinates to a grid.
Declaration
func roundSelectedCoordinates(_ grid: GSGridSettings)Declaration
- (void) roundSelectedCoordinates:(GSGridSettings) grid;Declaration
roundSelectedCoordinates_(grid: GSGridSettings)Discussion
When the selection is empty, all applicable coordinates are rounded.
See Also
Rounding Coordinates
Rounds path, component, and anchor coordinates using the associated font master settings.
Rounds path, component, and anchor coordinates to a grid.
Rounds path, component, and anchor coordinates to a grid without normal edit bookkeeping.
Rounds shape and anchor coordinates to a uniform grid and rounds the layer width to at most unit precision.
Rounds shape and anchor coordinates to a uniform grid without normal edit bookkeeping.