LinearGradientBrush constructor

init

Initializes a new instance of the LinearGradientBrush class with default values.

def __init__(self):
    ...

init

Initializes a new instance of the LinearGradientBrush class.

def __init__(self, start_color, end_color, angle):
    ...
Parameter Type Description
start_color aspose.pydrawing.Color Start color.
end_color aspose.pydrawing.Color End color.
angle float Angle. Default value is 0.

See Also