
## add(self, position, color, alpha) {#float-aspose.cells.CellsColor-int}

Add a gradient stop.



```python

def add(self, position, color, alpha):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| position | float | The position of the stop,in unit of percentage. |
| color | aspose.cells.CellsColor | The color of the stop. |
| alpha | int | The alpha of the color. |


## add(self, position, color, alpha) {#float-aspose.pydrawing.Color-int}

Add a gradient stop.



```python

def add(self, position, color, alpha):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| position | float | The position of the stop,in unit of percentage. |
| color | aspose.pydrawing.Color | The color of the stop. |
| alpha | int | The alpha of the color. |



### See Also
* module [`aspose.cells.drawing`](../../)
* class [`GradientStopCollection`](/cells/python-net/aspose.cells.drawing/gradientstopcollection)
