add Methode

add(self, position, color, alpha)

Fügen Sie einen Farbverlaufsstopp hinzu.


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

add(self, position, color, alpha)

Fügen Sie einen Farbverlaufsstopp 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