Skip to main content

Home > @jsplumb/connector-bezier > 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