Skip to main content

Home > @jsplumb/util > 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#

PropertyTypeDescription
thresholdX?number(Optional)
thresholdY?number(Optional)