add method

add

Add a gradient stop.

def add(self, position, color, alpha):
    ...
ParameterTypeDescription
positionfloatThe position of the stop,in unit of percentage.
colorCellsColorThe color of the stop.
alphaintThe alpha of the color.

add

Add a gradient stop.

def add(self, position, color, alpha):
    ...
ParameterTypeDescription
positionfloatThe position of the stop,in unit of percentage.
coloraspose.pydrawing.ColorThe color of the stop.
alphaintThe alpha of the color.

See Also