insertPointAt method

void insertPointAt(
  1. num i,
  2. num x,
  3. num y
)

(undocumented) Insert a point at a particular position in the route, without replacing an existing point; this may only be called within an override of #computePoints. @param {number} i int The zero-based index of the new point. @param {number} x The new X, which should not be infinite or NaN, in document coordinates. @param {number} y The new Y, which should not be infinite or NaN, in document coordinates.

Implementation

void insertPointAt(
  _i2.num i,
  _i2.num x,
  _i2.num y,
) {
  _i4.callMethod(
    this,
    'insertPointAt',
    [
      i,
      x,
      y,
    ],
  );
}