##  add(self, position, color, alpha) {#float-aspose.cells.CellsColor-int}
添加渐变停止。



```python

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


|范围|类型|描述|
| :- | :- | :- |
| position | float |停止的位置，以百分比为单位。|
| color | [`CellsColor`](/cells/python-net/zh/aspose.cells/cellscolor) |停靠点的颜色。|
| alpha | int |颜色的 alpha。|


##  add(self, position, color, alpha) {#float-aspose.pydrawing.Color-int}
添加渐变停止。



```python

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


|范围|类型|描述|
| :- | :- | :- |
| position | float |停止的位置，以百分比为单位。|
| color | aspose.pydrawing.Color |停靠点的颜色。|
| alpha | int |颜色的 alpha。|



### 也可以看看
* 模块[`aspose.cells.drawing`](../../)
* 类 [`GradientStopCollection`](/cells/python-net/zh/aspose.cells.drawing/gradientstopcollection)
