GradientStopCollection

GradientStopCollection

Přehled

GradientStopCollection je třída v Aspose.Slides FOSS pro Java. Dědici: IGradientStopCollection, Iterable<IGradientStop>.

Zobrazuje soubor stop gradientu.

Metody

Podpis:Popis:
GradientStopCollection(gsLst: Element, saveCallback: Runnable)Vytvoří nový GradientStopCollection podporovaný daným prvkem {@code <a:gsLst>}.
get(index: int) → IGradientStopVrátí stop gradientu při uvedeném indexu založeném na nule.
size() → intVrátí počet přestávek gradientu v souboru.
add(position: double, color: Color) → IGradientStopUmožňuje definovat nový stop gradientu s konkrétní polohou a barvou pro vlastní vyplnění gradientů.
add(position: double, presetColor: PresetColor) → IGradientStop
add(position: double, schemeColor: SchemeColor) → IGradientStop
insert(index: int, position: double, color: Color)Vkládá stop s upravenou pozicí a barvou v určeném indexu.
insert(index: int, position: double, presetColor: PresetColor)
insert(index: int, position: double, schemeColor: SchemeColor)
removeAt(index: int)Odstraňuje přestávku gradientu u daného indexu.
clear()Odstraňuje všechny přestávky gradientu ze sbírky .
asICollection() → List<IGradientStop>Vrátí gradient stops jako List
asIEnumerable() → Iterable<IGradientStop>Vrátí gradient stops jako Iterable
iterator() → Iterator<IGradientStop>Vrátí iterátor přes gradientní stávky v této kolekci.
 Čeština