doMouseUp method

void doMouseUp()

The diagram will call this method upon a mouse up event. This is normally overridden for mouse-up tools. An override of this method usually does nothing when #isActive is false, except for calling #stopTool. Tools normally stop upon a mouse up, by calling #stopTool. If you want to handle multiple mouse down-up gestures in one tool activation, you will need to override this method to only stop the tool when you want. Implementations of this method can look at Diagram#lastInput to get the mouse event and input state.

By default this method just calls #stopTool. 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 doMouseUp() {
  _i4.callMethod(
    this,
    'doMouseUp',
    [],
  );
}