The Curve object represents the parts of a path that are connected by two following Segment
objects. The curves of a path can be accessed through its path.curves
array.
While a segment describe the anchor point and its incoming and outgoing handles, a Curve object describes the curve passing between two such segments. Curves and segments represent two different ways of looking at the same thing, but focusing on different aspects. Curves for example offer many convenient ways to work with parts of the path, finding lengths, positions or tangents at given offsets.
Curve(segment1, segment2)
Curve(point1, handle1, handle2, point2)
point1
point2
handle1
handle2
segment1
segment2
path
index
next
previous
selected
values
points