insert method

insert(self, index, position, color)

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.slides.ColorColor of the new radient stop.

insert(self, index, position, preset_color)

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(self, index, position, scheme_color)

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