Capítulo 271 de 411
Plots a curved cubic-bezier path through a flat list of x/y points, returning a segment array typically inserted into a RawPath.
| Parameter | Type | Description |
|---|---|---|
| points | Array | flat [x, y, x, y, ...] coordinates |
| curviness | Number (optional) | 0 = straight/hard corners, 1 (default) = smooth curve, higher = curvier |
Returns: cubic bezier data (anchor, 2 control points, anchor, ...).