GradientStopCollectionAdd Method (Double, Color, Int32)

Add a gradient stop.

Namespace:  Aspose.Cells.Drawing
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.11.0.0 (20.11)
Syntax
public void Add(
	double position,
	Color color,
	int alpha
)

Parameters

position
Type: SystemDouble
The position of the stop,in unit of percentage.
color
Type: System.DrawingColor
The color of the stop.
alpha
Type: SystemInt32
The alpha of the color.
See Also