GradientStopCollectionAdd Method |
Add a gradient stop.
Namespace:
Aspose.Diagram
Assembly:
Aspose.Diagram (in Aspose.Diagram.dll) Version: 20.3.0.0 (20.3)
Syntaxpublic void Add(
DoubleValue position,
ColorValue color
)
Public Sub Add (
position As DoubleValue,
color As ColorValue
)
public:
void Add(
DoubleValue^ position,
ColorValue^ color
)
member Add :
position : DoubleValue *
color : ColorValue -> unit
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