Add

GradientStopCollection.Add method

Add a gradient stop.

public void Add(DoubleValue position, ColorValue color)
Parameter Description
position The position of the stop,in unit of percentage.
color The color of the stop.
alpha The alpha of the color.

See Also