GradientStopCollection

GradientStopCollection

Overview

GradientStopCollection is a class in Aspose.Words FOSS for Java. Inherits from: Iterable<GradientStop>.

Contains a collection of GradientStop objects.

Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.

This class declares 8 methods for GradientStopCollection objects in Java programs. Available methods include: add, get, getCount, insert, iterator, remove, removeAt, set. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: count.

Properties

NameTypeAccessDescription
countintReadGets an integer value indicating the number of items in the collection.

Methods

SignatureDescription
get(index: int) → GradientStopGets or sets a GradientStop object in the collection.
set(index: int, value: GradientStop)Calls set(index, value) on this GradientStopCollection instance.
insert(index: int, gradientStop: GradientStop) → GradientStopInserts a GradientStop to the collection at a specified index.
add(gradientStop: GradientStop) → GradientStopAdds a specified GradientStop to a gradient.
removeAt(index: int) → GradientStopRemoves a GradientStop from the collection at a specified index.
remove(gradientStop: GradientStop) → booleanRemoves a specified GradientStop from the collection.
iterator() → Iterator<GradientStop>Returns an enumerator that iterates through the collection.
getCount() → intGets an integer value indicating the number of items in the collection.

See Also