Specifies how coordinates of an IPort can snap to a grid.
Inheritance Hierarchy
Remarks
An implementation of this interface can be queried using the lookup of a IInputModeContext.
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.verticalGridWidthStatic Methods
Creates an implementation of the interface IPortGridConstraintProvider from the given definition.
Creates an implementation of the interface IPortGridConstraintProvider from the given definition.
The given object must contain exactly the abstract members of the IPortGridConstraintProvider interface. No member may be omitted and no additional members can be added. While additional custom members can later be added directly on the instance, this is discouraged.
static
Parameters
Return Value
- IPortGridConstraintProvider
- An instance of the IPortGridConstraintProvider interface based on the given definition.