gridSnapCellSize property

Size get gridSnapCellSize

Gets or sets the size of the grid cell used when snapping during a drag if the value of #isGridSnapEnabled is true. By default this property is the Size(NaN, NaN), which causes this tool to use the Panel#gridCellSize value of the Diagram#grid. Setting this property does not raise any events.

This property is a convenience getter/setter, and sets a value on #dragOptions.

Implementation

_i3.Size get gridSnapCellSize => _i4.getProperty(
      this,
      'gridSnapCellSize',
    );
set gridSnapCellSize (Size value)

Implementation

set gridSnapCellSize(_i3.Size value) {
  _i4.setProperty(
    this,
    'gridSnapCellSize',
    value,
  );
}