rotatable property

bool get rotatable

Gets or sets whether the user may rotate this part. The initial value is false.

If you set this to true you may also want to set #rotateObjectName to the GraphObject#named element that you want the user to rotate. It is also commonplace to add a TwoWay Binding of that named element's GraphObject#angle in order to save to the model data the value that the user set via the RotatingTool.

Implementation

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

Implementation

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