computeMidOrthoPosition method

num computeMidOrthoPosition(
  1. num fromX,
  2. num fromY,
  3. num toX,
  4. num toY,
  5. bool vertical,
)

(undocumented) This method is called by #addOrthoPoints to determine the distance of the middle segment between the two ports.

Implementation

_i2.num computeMidOrthoPosition(
  _i2.num fromX,
  _i2.num fromY,
  _i2.num toX,
  _i2.num toY,
  _i2.bool vertical,
) =>
    _i4.callMethod(
      this,
      'computeMidOrthoPosition',
      [
        fromX,
        fromY,
        toX,
        toY,
        vertical,
      ],
    );