insertPoint method

void insertPoint(
  1. num i,
  2. Point p
)

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 {Point} p The new point in document coordinates, which should not have infinite or NaN coordinate values, and which must not be modified afterwards. @see #getPoint @see #setPoint @see #addPoint @see #removePoint @since 1.6

Implementation

void insertPoint(
  _i2.num i,
  _i3.Point p,
) {
  _i4.callMethod(
    this,
    'insertPoint',
    [
      i,
      p,
    ],
  );
}