IGradientStopCollection

IGradientStopCollection

Vue de l’ensemble

‘IGradientStopCollection’ est une interface dans Aspose.Slides FOSS pour Java.

Représente une collection d’arrêts de dégradé.

Cette interface fournit 12 méthodes pour travailler avec IGradientStopCollection objets dans les programmes Java. Les méthodologies disponibles comprennent: add, asICollection , aIEnumerable ; ‘clear; 'get : insertetremoveAt`. Tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de l’Aspose.Slides FOSS pour le package Java .

méthodes

SignatureDescription
get(index: int)IGradientStopGets the gradient stop at the specified index.
size()intReturns the number of gradient stops.
add(position: double, color: Color)IGradientStopCreates and adds a new gradient stop with the specified position and color.
add(position: double, presetColor: PresetColor)IGradientStopCreates and adds a new gradient stop with the specified position and preset color.
add(position: double, schemeColor: SchemeColor)IGradientStopCreates and adds a new gradient stop with the specified position and scheme color.
insert(index: int, position: double, color: Color)Inserts a new gradient stop at the specified index with the given position and color.
insert(index: int, position: double, presetColor: PresetColor)Inserts a new gradient stop at the specified index with the given position and preset color.
insert(index: int, position: double, schemeColor: SchemeColor)Inserts a new gradient stop at the specified index with the given position and scheme color.
removeAt(index: int)Removes the gradient stop at the specified index.
clear()Removes all gradient stops.
asICollection()List<IGradientStop>Returns all gradient stops as a list.
asIEnumerable()Iterable<IGradientStop>Returns all gradient stops as an iterable.

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français