curveStepBefore function Curves

Curve curveStepBefore(
  1. Path context
)

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

The y-value changes before the x-value.

Implementation

Curve curveStepBefore(Path context) => CurveStep(context, 0);