doMouseDown method

void doMouseDown()

The diagram will call this method upon a mouse down event. This is normally overridden for mouse-down tools; it is not called for mouse-move or mouse-up tools. However it may also be called when the tool is run in a modal fashion, when code explicitly sets the diagram's Diagram#currentTool. Implementations of this method can look at Diagram#lastInput to get the mouse event and input state.

By default this method checks #isActive; if that is false it calls #canStart. If that in turn is true, this calls #doActivate. 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

Implementation

void doMouseDown() {
  _i4.callMethod(
    this,
    'doMouseDown',
    [],
  );
}