IGradientStopCollection class

IGradientStopCollection class

Represnts a collection of gradient stops.

The IGradientStopCollection type exposes the following members:

Returns the gradient stop by index.

Indexer

NameDescription
[index]

Methods

MethodDescription
add(self, position, color)Creates the new gradient stop and adds it to the end of collection.
add(self, position, preset_color)Creates the new gradient stop and adds it to the end of collection.
add(self, position, scheme_color)Creates the new gradient stop and adds it to the end of collection.
insert(self, index, position, color)Creates the new gradient stop and inserts it at the specified index to the collection.
insert(self, index, position, preset_color)Creates the new gradient stop and inserts it at the specified index to the collection.
insert(self, index, position, scheme_color)Creates the new gradient stop and inserts it at the specified index to the collection.
remove_at(self, index)Removes a gradient stop at the specified index.
clear(self)Removes all gradient stops from a collection.

See Also