IGradientStopCollection
Overview
IGradientStopCollection is a interface in Aspose.Slides FOSS for Java.
Represents a collection of gradient stops.
Methods
| Signature | Description |
|---|---|
get(index: int) → IGradientStop | Gets the gradient stop at the specified index. |
size() → int | Returns the number of gradient stops. |
add(position: double, color: Color) → IGradientStop | Creates and adds a new gradient stop with the specified position and color. |
add(position: double, presetColor: PresetColor) → IGradientStop | Creates and adds a new gradient stop with the specified position and preset color. |
add(position: double, schemeColor: SchemeColor) → IGradientStop | Creates 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. |