getFractionForPoint method

num getFractionForPoint(
  1. Point pt
)

Returns the fractional distance (0-1) along this Geometry's path for a nearby point. @param {Point} pt A Point, in local coordinates, near this Geometry. @return {number} A fractional amount between 0 and 1, inclusive. @since 2.1

Implementation

_i2.num getFractionForPoint(_i3.Point pt) => _i4.callMethod(
      this,
      'getFractionForPoint',
      [pt],
    );