GradientStopCollectionAdd Method

Add a gradient stop.

Namespace:  Aspose.Diagram
Assembly:  Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.3.0.0 (20.3)
Syntax
public void Add(
	DoubleValue position,
	ColorValue color
)

Parameters

position
Type: Aspose.DiagramDoubleValue
The position of the stop,in unit of percentage.
color
Type: Aspose.DiagramColorValue
The color of the stop.
See Also