The Curve object represents the parts of a path that are connected by two following
[Segment](<https://apiref.notion.site/Segment-ad3ceb23b13344a88f875c03a31c91c9>) objects. The curves of a path can be accessed through its
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(point1, handle1, handle2, point2)