add method

Contents
[ ]

add

Creates the new gradient stop and adds it to the end of collection.

Returns

Index of the new gradient stop in the collection.

def add(self, position, color):
    ...
ParameterTypeDescription
positionfloatPosition of the new gradient stop.
coloraspose.pydrawing.ColorColor of the new radient stop.

add

Creates the new gradient stop and adds it to the end of collection.

Returns

Index of the new gradient stop in the collection.

def add(self, position, preset_color):
    ...
ParameterTypeDescription
positionfloatPosition of the new gradient stop.
preset_colorPresetColorColor of the new radient stop.

add

Creates the new gradient stop and adds it to the end of collection.

Returns

Index of the new gradient stop in the collection.

def add(self, position, scheme_color):
    ...
ParameterTypeDescription
positionfloatPosition of the new gradient stop.
scheme_colorSchemeColorColor of the new radient stop.

See Also