set_gradient method
set_gradient(self, type, angle, direction)
Set the gradient fill type and direction.
def set_gradient(self, type, angle, direction):
...
| Parameter | Type | Description |
|---|---|---|
| type | aspose.cells.drawing.GradientFillType | Gradient fill type. |
| angle | float | The angle. Only applies for GradientFillType.Linear. |
| direction | aspose.cells.drawing.GradientDirectionType | The direction type. Only applies for GradientFillType.Radial and GradientFillType.Rectangle. |
See Also
- module
aspose.cells.drawing - class
GradientFill