setPointAt method

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

(undocumented) 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 {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 setPointAt(
  _i2.num i,
  _i2.num x,
  _i2.num y,
) {
  _i4.callMethod(
    this,
    'setPointAt',
    [
      i,
      x,
      y,
    ],
  );
}