setPoint method

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

Sets a particular point of the route; this may only be called within an override of #computePoints. @param {number} i int The zero-based index of the desired 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 #insertPoint @see #addPoint @see #removePoint @since 1.6

Implementation

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