add method
add(position, color)
Add a gradient stop.
def add(self, position, color):
...
| Parameter | Type | Description |
|---|---|---|
| position | DoubleValue | The position of the stop,in unit of percentage. |
| color | ColorValue | The color of the stop. |
See Also
- module aspose.diagram
- class GradientStopCollection