gridSnapCellSize property

Size get gridSnapCellSize

Gets or sets the size of the grid cell used when snapping during a drag. By default this property is the Size(NaN, NaN), which causes this tool to use the Panel#gridCellSize value of the Diagram#grid.

In typical DraggingTool operation this is set via DraggingTool#gridSnapCellSize.

Implementation

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

Implementation

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