isGridSnapEnabled property

bool get isGridSnapEnabled

Gets or sets whether the ResizingTool snaps object sizes to the diagram's background grid during the resize. By default this property is false. Setting this property does not raise any events.

Implementation

_i2.bool get isGridSnapEnabled => _i4.getProperty(
      this,
      'isGridSnapEnabled',
    );
set isGridSnapEnabled (bool value)

Implementation

set isGridSnapEnabled(_i2.bool value) {
  _i4.setProperty(
    this,
    'isGridSnapEnabled',
    value,
  );
}