get_two_color_gradient method
get_two_color_gradient {#aspose.pydrawing.Color&-aspose.pydrawing.Color&-any-any}
Get the two-color gradient setting.
def get_two_color_gradient(self, color1, color2, gradient_style_type, variant):
...
Parameter | Type | Description |
---|---|---|
color1 | aspose.pydrawing.Color& | One gradient color. |
color2 | aspose.pydrawing.Color& | Two gradient color. |
gradient_style_type | any | Gradient shading style. |
variant | any | The gradient variant. |
Remarks
NOTE: This method is now obsolete. Instead, please use Style.GetTwoColorGradientSetting() method. This property will be removed 12 months later since December 2022. Aspose apologizes for any inconvenience you may have experienced.
See Also
- module
aspose.cells
- class
Style