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
GridInfo
Remarks
It is used by the IGridConstraintProvider<T> as well as by the
GridSnapResultVisualCreator<T>
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.view.GridInfo
See Also
Constructors
Creates a new instance using the given horizontal and vertical grid spacing as well as the given origin.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- horizontalSpacing - number
- The horizontal spacing between the grid points.
- verticalSpacing - number
- The vertical spacing between the grid points.
- origin - Point
- The canonical origin of the grid.
Properties
Gets or sets the canonical origin of the grid.