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