IGradientStopCollection

IGradientStopCollection

Overview

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

Represents a collection of gradient stops.

This interface provides 12 methods for working with IGradientStopCollection objects in Java programs. Available methods include: add, asICollection, asIEnumerable, clear, get, insert, removeAt, size. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package.

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