gridSnapOrigin property

Point get gridSnapOrigin

Gets or sets the snapping grid's origin point, in document coordinates, if the value of #isGridSnapEnabled is true. By default this property is the Point(NaN, NaN), which causes this tool to use the Panel#gridOrigin value from 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.Point get gridSnapOrigin => _i4.getProperty(
      this,
      'gridSnapOrigin',
    );
set gridSnapOrigin (Point value)

Implementation

set gridSnapOrigin(_i3.Point value) {
  _i4.setProperty(
    this,
    'gridSnapOrigin',
    value,
  );
}