add method

add(self, position, color, alpha)

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(self, position, color, alpha)

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