Skip to main content

utils.curveEdge()

The utils.curveEdge() function finds the edge of a cubic Bézier curve, given the curve, the edge to find ("top", "bottom", "left", or "right"), and the number of steps to divide the curve into while walking it.

Signature

Point utils.curveEdge(
Bezier curve,
string edge,
int steps = 500)

Example

A Utils.curveEdge() example