Function Line2D.setGradient

void setGradient (
  Gradient color
) nothrow @nogc;