snapAngleMultiple property

num get snapAngleMultiple

Gets or sets the preferred angles for the selected object.

The default value is 45 degrees, meaning that angles that are multiples of 45 degrees are automatically preferred, if the actual angle is close to that multiple. The closeness is determined by the #snapAngleEpsilon property. A value of zero for #snapAngleMultiple results in no snapping at all. Setting this property does not raise any events.

Implementation

_i2.num get snapAngleMultiple => _i4.getProperty(
      this,
      'snapAngleMultiple',
    );
set snapAngleMultiple (num value)

Implementation

set snapAngleMultiple(_i2.num value) {
  _i4.setProperty(
    this,
    'snapAngleMultiple',
    value,
  );
}