Function Gradient.addPoint

Adds the specified color to the end of the ramp, with the specified offset.

void addPoint (
  const(double) offset,
  const(Color) color
) nothrow @nogc;