clonePartialCurve Method

Return a portion of this curve with its own distance index.

  • Passing a chain detail containing a childDetail is more accurate for extending the instance beyond [0,1]. Such details are returned by e.g., intersectionXYPairs.

clonePartialCurve(fractionA: number | CurveLocationDetail, fractionB: number | CurveLocationDetail, options?: StrokeOptions): undefined | CurveChainWithDistanceIndex

Parameter Type Description
fractionA number | CurveLocationDetail start fraction or chain detail
fractionB number | CurveLocationDetail end fraction or chain detail
options StrokeOptions how finely to stroke the path to create the distance index

Returns - undefined | CurveChainWithDistanceIndex

Defined in

Last Updated: 14 November, 2024