add Methode

add(position, color, alpha)

Fügen Sie einen Gradientenstopp hinzu.

def add(self, position, color, alpha):
    ...
ParameterTypBeschreibung
positionfloatDie Position des Stopps in Prozent.
colorCellsColorDie Farbe des Stopps.
alphaintDas Alpha der Farbe.

add(position, color, alpha)

Fügen Sie einen Gradientenstopp hinzu.

def add(self, position, color, alpha):
    ...
ParameterTypBeschreibung
positionfloatDie Position des Stopps in Prozent.
coloraspose.pydrawing.ColorDie Farbe des Stopps.
alphaintDas Alpha der Farbe.

Siehe auch