IGradientStopCollection

IGradientStopCollection

Overview

IGradientStopCollection is a interface in Aspose.Slides FOSS for Java.

Represents a collection of gradient stops.

Methods

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.

See Also