curveStepAfter function Curves

Curve curveStepAfter(
  1. Path context
)

Produces a piecewise constant function (a step function) consisting of alternating horizontal and vertical lines.

The y-value changes after the x-value.

Implementation

Curve curveStepAfter(Path context) => CurveStep(context, 1);