This class describes a grid by providing the grid's origin as well as the horizontal and vertical spacing between the grid points.
Inheritance Hierarchy
Remarks
It is used by the GraphSnapContext and GridRenderer.
See Also
Developer's Guide
API
- INodeGridConstraintProvider, IPortGridConstraintProvider, IBendGridConstraintProvider
Members
No filters for this type
Constructors
Creates a new instance using the given horizontal and vertical grid spacing as well as the given origin.
Creates a new instance using the given horizontal and vertical grid spacing as well as the given origin.
Parameters
- horizontalSpacing?: number
- The horizontal spacing between the grid points.
- verticalSpacing?: number
- The vertical spacing between the grid points.
- origin?: Pointconversion
- The canonical origin of the grid.
Properties
final
Gets or sets the canonical origin of the grid.
Gets or sets the canonical origin of the grid.
conversionfinal