Skip to main content

Home > @jsplumbtoolkit/browser-ui > pointAlongCurveFrom

pointAlongCurveFrom() function

finds the point that is 'distance' along the path from 'location'.

Signature:

export declare function pointAlongCurveFrom(curve: Curve, location: number, distance: number): PointXY;

Parameters

ParameterTypeDescription
curveCurve
locationnumber
distancenumber

Returns:

PointXY