isGridSnapRealtime property

bool get isGridSnapRealtime

Gets or sets whether the DraggingTool snaps objects to grid points during the drag. This property is ignored unless #isGridSnapEnabled is true. By default this property is true; when false parts are only snapped to grid locations upon the drop (i.e. mouse-up). 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 isGridSnapRealtime => _i4.getProperty(
      this,
      'isGridSnapRealtime',
    );
set isGridSnapRealtime (bool value)

Implementation

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