isActive property

bool get isActive

Gets or sets whether this tool is started and is actively doing something.

You can set this to true after your tool is started (i.e. when it is the Diagram#currentTool and #doStart had been called), but when it is not yet in a state that it is actually "doing" something, because it is waiting for the right circumstances. This is typically only important when the tool is used in a modal fashion.

The default value is false. This is normally set by #doActivate and #doDeactivate.

Implementation

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

Implementation

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