IGradientStopCollection

IGradientStopCollection interface

Represnts a collection of gradient stops.

public interface IGradientStopCollection : IGenericCollection<IGradientStop>

Properties

NameDescription
Item { get; }Returns the gradient stop by index.

Methods

NameDescription
Add(float, Color)Creates the new gradient stop and adds it to the end of collection.
Add(float, PresetColor)Creates the new gradient stop and adds it to the end of collection.
Add(float, SchemeColor)Creates the new gradient stop and adds it to the end of collection.
Clear()Removes all gradient stops from a collection.
Insert(int, float, Color)Creates the new gradient stop and inserts it at the specified index to the collection.
Insert(int, float, PresetColor)Creates the new gradient stop and inserts it at the specified index to the collection.
Insert(int, float, SchemeColor)Creates the new gradient stop and inserts it at the specified index to the collection.
RemoveAt(int)Removes a gradient stop at the specified index.

See Also