GradientStopCollection Class

Represnts a collection of gradient stops.
Inheritance Hierarchy
SystemObject
  Aspose.SlidesPVIObject
    Aspose.SlidesGradientStopCollection

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
public sealed class GradientStopCollection : PVIObject, 
	ICollection, IEnumerable, IGradientStopCollection, IEnumerable<IGradientStop>, 
	IGenericCollection<IGradientStop>

The GradientStopCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns the number of gradient stops in a collection. Read-only Int32.
Public propertyIsSynchronized
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Public propertyItem
Returns the gradient stop by index.
Public propertySyncRoot
Returns a synchronization root. Read-only Object.
Methods
  NameDescription
Public methodAdd(Single, PresetColor)
Creates the new gradient stop and adds it to the end of collection.
Public methodAdd(Single, SchemeColor)
Creates the new gradient stop and adds it to the end of collection.
Public methodAdd(Single, Color)
Creates the new gradient stop and adds it to the end of collection.
Public methodClear
Removes all gradient stops from a collection.
Public methodCopyTo
Copies all elements from the collection to the specified array.
Public methodEquals
Compares with specified object.
(Inherited from PVIObject.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Returns hash code.
(Inherited from PVIObject.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsert(Int32, Single, PresetColor)
Creates the new gradient stop and inserts it at the specified index to the collection.
Public methodInsert(Int32, Single, SchemeColor)
Creates the new gradient stop and inserts it at the specified index to the collection.
Public methodInsert(Int32, Single, Color)
Creates the new gradient stop and inserts it at the specified index to the collection.
Public methodRemoveAt
Removes a gradient stop at the specified index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also