Home > @jsplumbtoolkit/browser-ui > Grid
Grid interface
Definition of a grid - the width/height of each cell, and, optionally, a threshold value for each axis to use when trying to snap some coordinate to the grid.
Signature:
export interface Grid extends Size
Extends: Size
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
thresholdX? | number | (Optional) | |
thresholdY? | number | (Optional) |