isBeyondDragSize method
Return true when the last mouse point is far enough away from the first mouse down point to constitute a drag operation instead of just a potential click.
This uses the value of ToolManager#dragSize. On touch devices the value is automatically increased to accommodate the unavoidable movement of fingers.
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 @param {Point=} first Point in view coordinates, defaults to Diagram#firstInput's InputEvent#viewPoint. @param {Point=} last Point in view coordinates, defaults to Diagram#lastInput's InputEvent#viewPoint. @return {boolean}
Implementation
_i2.bool isBeyondDragSize([
_i3.Point? first,
_i3.Point? last,
]) =>
_i4.callMethod(
this,
'isBeyondDragSize',
[
first ?? _i5.undefined,
last ?? _i5.undefined,
],
);