GradientStopCollection
概要
GradientStopCollection は Aspose.Slides の Java 用 FOSS のクラスです。継承元: IGradientStopCollection, Iterable<IGradientStop>。
グラデーションストップのコレクションを表します。
このクラスは Java プログラムで GradientStopCollection オブジェクトを操作するための 14 のメソッドを提供します。利用可能なメソッドは GradientStopCollection, add, asICollection, asIEnumerable, clear, get, insert, iterator, removeAt, size です。Aspose.Slides の Java 用 FOSS パッケージをインストールすれば、すべての公開メンバーは任意の Java アプリケーションから利用可能になります。
メソッド
| シグネチャ | 説明 |
|---|---|
GradientStopCollection(gsLst: Element, saveCallback: Runnable) | 指定された {@code <a:gsLst>} 要素に基づく新しい GradientStopCollection を作成します。 |
get(index: int) → IGradientStop | 指定された0ベースのインデックスにあるグラデーションストップを返します。 |
size() → int | コレクション内のグラデーションストップの数を返します。 |
add(position: double, color: Color) → IGradientStop | 指定された位置と単色で新しいグラデーションストップを追加し、作成されたストップを返します。 |
add(position: double, presetColor: PresetColor) → IGradientStop | |
add(position: double, schemeColor: SchemeColor) → IGradientStop | |
insert(index: int, position: double, color: Color) | 指定されたインデックスに、指定された位置と色のグラデーションストップを挿入します |
insert(index: int, position: double, presetColor: PresetColor) | |
insert(index: int, position: double, schemeColor: SchemeColor) | |
removeAt(index: int) | 指定されたインデックスのグラデーションストップを削除します |
clear() | コレクションからすべてのグラデーションストップを削除します |
asICollection() → List<IGradientStop> | グラデーションストップを List として返します |
asIEnumerable() → Iterable<IGradientStop> | グラデーションストップを Iterable として返します |
iterator() → Iterator<IGradientStop> | このコレクション内のグラデーションストップに対するイテレータを返します. |