GradientStopCollection
General
GradientStopCollection is a class in Aspose.Slides for NET.
Inherits from: PVIObject, IGradientStopCollection, IEnumerable<IGradientStop>.
GradientStopCollection és una classe en Aspose.Slides per NET. És heretat de: ゚PVIObject, ⌒IGradientStopCollectionヽ , ゙IEnumerable<IGradientStop> .
Gestiona una col·lecció d’elements fills <a:gs> dins un element XML < a: gslst> . Cada mutació manté els canvis cridant al propietari.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
AsICollection | IList<IGradientStop> | Read | Provides the collection as an IList |
AsIEnumerable | IEnumerable<IGradientStop> | Read | Provides the collection as an IEnumerable |
Count | int | Read | Gets the number of gradient stops in the collection |
Mètodes
| Signature | Description |
|---|---|
Add(position: float, color: Color) | Adds a gradient stop at the given position using a Color |
Add(position: float, presetColor: PresetColor) | |
Add(position: float, schemeColor: SchemeColor) | |
Insert(index: int, position: float, color: Color) | Inserts a gradient stop at the index with a Color |
Insert(index: int, position: float, presetColor: PresetColor) | |
Insert(index: int, position: float, schemeColor: SchemeColor) | |
RemoveAt(index: int) | Removes the gradient stop at the specified index |
Clear() | Removes all gradient stops from the collection |
GetEnumerator() | Returns an enumerator for iterating gradient stops |