public class GradientStopCollection
extends java.lang.Object
implements java.lang.Iterable
GradientStop objects.
You do not create instances of this class directly. Use the Fill.getGradientStops() property to access gradient stops of fill objects.| Modifier and Type | Method and Description |
|---|---|
GradientStop |
add(GradientStop gradientStop)
Adds a specified
GradientStop to a gradient. |
GradientStop |
get(int index)
Gets a
GradientStop object in the collection. |
int |
getCount()
Gets an integer value indicating the number of items in the collection.
|
GradientStop |
insert(int index,
GradientStop gradientStop)
Inserts a
GradientStop to the collection at a specified index. |
java.util.Iterator |
iterator()
Returns an enumerator that iterates through the collection.
|
boolean |
remove(GradientStop gradientStop)
Removes a specified
GradientStop from the collection. |
GradientStop |
removeAt(int index)
Removes a
GradientStop from the collection at a specified index. |
void |
set(int index,
GradientStop value)
Sets a
GradientStop object in the collection. |
public GradientStop get(int index)
GradientStop object in the collection.GradientStop object in the collection.public void set(int index,
GradientStop value)
GradientStop object in the collection.value - A GradientStop object in the collection.public GradientStop insert(int index, GradientStop gradientStop)
GradientStop to the collection at a specified index.public GradientStop add(GradientStop gradientStop)
GradientStop to a gradient.public GradientStop removeAt(int index)
GradientStop from the collection at a specified index.GradientStop.public boolean remove(GradientStop gradientStop)
GradientStop from the collection.public java.util.Iterator iterator()
iterator in interface java.lang.Iterablepublic int getCount()