addPoint method

void addPoint(
  1. Point p
)

Add a point at the end of the route; this may only be called within an override of #computePoints. @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 #insertPoint @see #removePoint @since 1.6

Implementation

void addPoint(_i3.Point p) {
  _i4.callMethod(
    this,
    'addPoint',
    [p],
  );
}