canStart method

bool canStart()

This predicate is used by the ToolManager to decide if this tool can be started mode-lessly by mouse and touch events. Implementations of this method can look at Diagram#lastInput to get the mouse event and input state.

By default this method returns #isEnabled. This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @return {boolean} true if #isEnabled is true and if the Diagram#toolManager can make this tool the Diagram#currentTool and then call the #doStart method.

Implementation

_i2.bool canStart() => _i4.callMethod(
      this,
      'canStart',
      [],
    );