GradientStopCollection
Vue de l’ensemble
‘GradientStopCollection’ est une classe dans Aspose.Slides FOSS pour Java. hérite de: ‘IGradientSTopcollection’, ‘Iterable
Représente une collection d’arrêts de dégradé.
Cette classe fournit 14 méthodes pour travailler avec les objets GradientStopCollection dans les programmes Java. Les méthodologies disponibles comprennent: GradiantStupColection, add , asICollection ; aIEnumerable; ‘clear : get . insert. iterator: 'removeAt et ‘size` tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspoe.Slides FOSS pour le package Java .
méthodes
| Signature | Description |
|---|---|
GradientStopCollection(gsLst: Element, saveCallback: Runnable) | Creates a new GradientStopCollection backed by the given {@code <a:gsLst>} element. |
get(index: int) → IGradientStop | Returns the gradient stop at the specified zero‑based index |
size() → int | Returns the number of gradient stops in the collection |
add(position: double, color: Color) → IGradientStop | Adds a new gradient stop with the given position and solid color, returning the created stop |
add(position: double, presetColor: PresetColor) → IGradientStop | |
add(position: double, schemeColor: SchemeColor) → IGradientStop | |
insert(index: int, position: double, color: Color) | Inserts a gradient stop with the given position and color at the specified index |
insert(index: int, position: double, presetColor: PresetColor) | |
insert(index: int, position: double, schemeColor: SchemeColor) | |
removeAt(index: int) | Removes the gradient stop at the specified index |
clear() | Removes all gradient stops from the collection |
asICollection() → List<IGradientStop> | Returns the gradient stops as a List |
asIEnumerable() → Iterable<IGradientStop> | Returns the gradient stops as an Iterable |
iterator() → Iterator<IGradientStop> | Returns an iterator over the gradient stops in this collection. |
Voir aussi
- Aspose.Slides - référence API d’entreprise