curveCardinal function Curves

Curve curveCardinal(
  1. Path context
)

Produces a cubic cardinal spline using the specified control points, with one-sided differences used for the first and last piece.

The default tension (see curveCardinalTension) is 0.

Implementation

Curve curveCardinal(Path context) => curveCardinalTension(0)(context);