curveBasisClosed function Curves
Produces a closed cubic basis spline using the specified control points.
When a line segment ends, the first three control points are repeated, producing a closed loop with C2 continuity.
Implementation
Curve curveBasisClosed(Path context) => CurveBasisClosed(context);