GradientStopCollection

GradientStopCollection class

Represnts a collection of gradient stops.

public sealed class GradientStopCollection : PVIObject, IGradientStopCollection

Properties

Name Description
AsIPresentationComponent { get; } Allows to get base IPresentationComponent interface. Read-only IPresentationComponent.
Count { get; } Returns the number of gradient stops in a collection. Read-only Int32.
IsSynchronized { get; } Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Item { get; } Returns the gradient stop by index.
SyncRoot { get; } Returns a synchronization root. Read-only Object.

Methods

Name Description
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.
CopyTo(Array, int) Copies all elements from the collection to the specified array.
override Equals(object) Compares with specified object.
GetEnumerator() Returns an enumerator that iterates through the collection.
override GetHashCode() Returns hash code.
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