public class GradientStopCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements actually contained in the collection.
|
||
GradientStop | get(int index) | |
void | set(intindex, GradientStop value) | |
Gets the gradient stop by the index. |
Method Summary | ||
---|---|---|
void | add(DoubleValue position, ColorValue color) | |
Add a gradient stop.
|
||
void | clear() | |
Removes all elements from collection.
|
||
boolean | isExist(int index) | |
Is exist item in the collection.
|
||
java.util.Iterator | iterator() | |
Supports a simple iteration over a nongeneric collection.
|
public int getCount()
public GradientStop get(int index) / public void set(int index, GradientStop value)
index
- The index.public void add(DoubleValue position, ColorValue color)
position
- The position of the stop,in unit of percentage.color
- The color of the stop.alpha
- The alpha of the color.public java.util.Iterator iterator()
public boolean isExist(int index)
index
- index of element.public void clear()