computeReshape method

Point computeReshape(
  1. Point p
)

This is called by #doMouseMove and #doMouseUp to limit the input point before calling #reshape.

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} p the point where the handle is being dragged. @return {Point} Either the same Point p or one constrained by the reshape behavior to be moved only vertically or only horizontally.

Implementation

_i3.Point computeReshape(_i3.Point p) => _i4.callMethod(
      this,
      'computeReshape',
      [p],
    );