computePoints method

bool computePoints()

The code that constructs a new route by modifying the #points. It is only called by #updateRoute, when needed. All route points are always in document coordinates.

This method may be overridden. Please read the Introduction page on Extensions for how to override methods and how to call this base method.

Overrides of this method may call a number of "protected" methods in order to build the route: #clearPoints, #addPoint, #insertPoint, #removePoint, #setPoint. Overrides of this method must not set #points.

Other methods that are commonly called and may be overridden are: #computeEndSegmentLength, #computeSpot, #computeOtherPoint, #computeCurve, #computeCurviness, #hasCurviness, #computeThickness, #makeGeometry. @expose @return {boolean} true if it computed a route of points @since 1.6

Implementation

_i2.bool computePoints() => _i4.callMethod(
      this,
      'computePoints',
      [],
    );