Interface for classes that can snap coordinates of items of a specific type to a grid.
Inheritance Hierarchy
Members
No filters for this type
Properties
Gets the canonical origin of the grid.
Gets the canonical origin of the grid.
readonlyabstract
Implemented in
GridConstraintProvider.gridOriginreadonlyabstract
Implemented in
GridConstraintProvider.horizontalGridWidthreadonlyabstract
Implemented in
GridConstraintProvider.verticalGridWidthMethods
abstract
Parameters
- context: IInputModeContext
- The context in which the snapping should occur.
- item: T
- The item of which the coordinates should be snapped.
- location: IMutablePoint
- The coordinates to snap.
- xSnapPolicy: SnapPolicy
- The policy for the x-coordinate.
- ySnapPolicy: SnapPolicy
- The policy for the y-coordinate.
Return Value
- boolean
- Whether the point has been snapped.