Skip to main content

Home > @jsplumb/connector-bezier > BezierSegment > gradientAtPoint

BezierSegment.gradientAtPoint() method#

returns the gradient of the segment at the given point.

Signature:

gradientAtPoint(location: number, absolute?: boolean): number;

Parameters#

ParameterTypeDescription
locationnumber
absoluteboolean

Returns:

number