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):
    ...
ParameterTypeDescription
color1aspose.pydrawing.Color&One gradient color.
color2aspose.pydrawing.Color&Two gradient color.
gradient_style_typeanyGradient shading style.
variantanyThe 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