AddColorStop

ICanvasGradient.AddColorStop method

Adds a new stop, defined by an offset and a color, to the gradient.

public void AddColorStop(double offset, string color)
Parameter Type Description
offset Double A number between 0 and 1.
color String A CSS color

See Also