getPointAlongPath method

Point getPointAlongPath(
  1. num fraction, [
  2. Point? result
])

Returns the point at the fractional distance (0-1) along this Geometry's path. @param {number} fraction A fractional amount between 0 and 1, inclusive. @param {Point=} result an optional Point that is modified and returned; otherwise it allocates and returns a new Point. @return {Point} the Point, in local coordinates, of the fractional distance along the path. @since 2.1

Implementation

_i3.Point getPointAlongPath(
  _i2.num fraction, [
  _i3.Point? result,
]) =>
    _i4.callMethod(
      this,
      'getPointAlongPath',
      [
        fraction,
        result ?? _i5.undefined,
      ],
    );