##  set_gradient(self, type, angle, direction) {#aspose.cells.drawing.GradientFillType-float-aspose.cells.drawing.GradientDirectionType}
Ange typ och riktning för övertoningsfyllning.



```python

def set_gradient(self, type, angle, direction):
    ...
```


| Parameter| Typ| Beskrivning|
| :- | :- | :- |
| type | [`GradientFillType`](/cells/python-net/sv/aspose.cells.drawing/gradientfilltype) | Typ av övertoningfyllning.|
| angle | float | Vinkeln. Gäller endast för GradientFillType.Linear.|
| direction | [`GradientDirectionType`](/cells/python-net/sv/aspose.cells.drawing/gradientdirectiontype) | Riktningstypen. Gäller endast för GradientFillType.Radial och GradientFillType.Rectangle.|



###  Se även
* modul [`aspose.cells.drawing`](../../)
* klass [`GradientFill`](/cells/python-net/sv/aspose.cells.drawing/gradientfill)
