isGridSnapEnabled property
bool
get
isGridSnapEnabled
Gets or sets whether the DraggingTool snaps objects to grid points. Whether the snapping movement of the dragged parts occurs during the drag or only upon a drop is determined by the value of #isGridSnapRealtime.
This property does not affect dragging disconnected links, but those links to respect the Part#dragComputation, which can be used to snap them.
By default this property is false. Setting this property does not raise any events.
This property is a convenience getter/setter, and sets a value on #dragOptions.
Implementation
_i2.bool get isGridSnapEnabled => _i4.getProperty(
this,
'isGridSnapEnabled',
);
set
isGridSnapEnabled
(bool value)
Implementation
set isGridSnapEnabled(_i2.bool value) {
_i4.setProperty(
this,
'isGridSnapEnabled',
value,
);
}