curveStepAfter function Curves
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);