Function Line2D.gradient

The gradient is drawn through the whole line from start to finish. The default color will not be used if a gradient is set.

Gradient gradient() nothrow @property @nogc;

void gradient (
  Gradient v
) nothrow @property @nogc;