IGradientStopCollection

IGradientStopCollection class

Represnts a collection of gradient stops.

The IGradientStopCollection type exposes the following members:

Properties

Name Description
as_i_collection Returns ICollection class.
as_i_enumerable Returns IEnumerable class.

Indexer

Name Description
[index] Returns the gradient stop by index.

Methods

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

See Also