insert method

insert

Creates the new gradient stop and inserts it at the specified index to the collection.

def insert(self, index, position, color):
    ...
ParameterTypeDescription
indexintIndex in the collection where new gradient stop will be inserted.
positionfloatPosition of the new gradient stop.
coloraspose.pydrawing.ColorColor of the new radient stop.

insert

Creates the new gradient stop and inserts it at the specified index to the collection.

def insert(self, index, position, preset_color):
    ...
ParameterTypeDescription
indexintIndex in the collection where new gradient stop will be inserted.
positionfloatPosition of the new gradient stop.
preset_colorPresetColorColor of the new radient stop.

insert

Creates the new gradient stop and inserts it at the specified index to the collection.

def insert(self, index, position, scheme_color):
    ...
ParameterTypeDescription
indexintIndex in the collection where new gradient stop will be inserted.
positionfloatPosition of the new gradient stop.
scheme_colorSchemeColorColor of the new radient stop.

See Also