GradientFill class
GradientFill class
Represents the gradient fill.
Inheritance: GradientFill
The GradientFill type exposes the following members:
Properties
| Property | Description | 
|---|---|
| gradient_stops | Represents the gradient stop collection. | 
| fill_type | Gets the gradient fill type. | 
| direction_type | Gets the gradient direction type. | 
| angle | The angle of linear fill. | 
Methods
| Method | Description | 
|---|---|
set_two_color_gradient(self, color1, color2, style, variant) | Sets the specified fill to a two-color gradient. Only applies for Excel 2007.  | 
set_two_color_gradient(self, color1, transparency1, color2, transparency2, style, variant) | Sets the specified fill to a two-color gradient. Only applies for Excel 2007.  | 
set_gradient(self, type, angle, direction) | Set the gradient fill type and direction. | 
set_preset_theme_gradient(self, gradient_type, theme_color_type) | Sets preset theme gradient fill. | 
set_one_color_gradient(self, color, degree, style, variant) | Sets the specified fill to a one-color gradient. Only applies for Excel 2007.  | 
See Also
- module 
aspose.cells.drawing - class 
GradientFill