Click or drag to resize

GradientStopCollection Class

Represnts a collection of gradient stops.
Inheritance Hierarchy
System Object
Spire.Presentation.Collections GradientStopList
Spire.Presentation.Collections GradientStopCollection

Namespace: Spire.Presentation.Collections
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public sealed class GradientStopCollection : GradientStopList, 
	ICollection, IEnumerable

The GradientStopCollection type exposes the following members.

Properties
Name Description
Public property Count
Gets the number of gradient stops in a collection. Read-only Int32 .
(Inherited from GradientStopList .)
Public property IsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread-safe).
Public property Item
Gets the gradient stop by index.
(Inherited from GradientStopList .)
Public property SyncRoot
Gets a synchronization root. Readonly Object .
Top
Methods
Name Description
Public method Append(Single, SchemeColor)
Creates the new gradient stop.
(Inherited from GradientStopList .)
Public method Append(Single, KnownColors)
Creates the new gradient stop and adds it to the collection.
(Inherited from GradientStopList .)
Public method Append(Single, Color)
Creates the new gradient stop.
(Inherited from GradientStopList .)
Public method CopyTo
Copies all elements from the collection to the specified array.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Public method GetEnumerator
Gets an enumerator for the entire collection.
(Inherited from GradientStopList .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method Insert(Int32, Single, SchemeColor)
Creates the new gradient stop.
(Inherited from GradientStopList .)
Public method Insert(Int32, Single, KnownColors)
Creates the new gradient stop.
(Inherited from GradientStopList .)
Public method Insert(Int32, Single, Color)
Creates the new gradient stop.
(Inherited from GradientStopList .)
Public method RemoveAll
Removes all gradient stops from a collection.
(Inherited from GradientStopList .)
Public method RemoveAt
Removes a gradient stop at the specified index.
(Inherited from GradientStopList .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also