ICanvasGradient.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)
ParameterTypeDescription
offsetDoubleA number between 0 and 1.
colorStringA CSS color

See Also