| Property Getters/Setters Summary | ||
|---|---|---|
method | getCount() | |
method | get(index) | |
method | set(index, value) | |
| Gets the gradient stop by the index. | ||
| Method Summary | ||
|---|---|---|
method | add(position, color, alpha) | |
Add a gradient stop.
|
||
method | add(position, color, alpha) | |
Add a gradient stop.
|
||
method | add(value) | |
Reserved for internal use. |
||
method | clear() | |
method | contains(value) | |
Reserved for internal use. |
||
method | get(index) | |
Reserved for internal use. |
||
method | indexOf(value) | |
Reserved for internal use. |
||
method | iterator() | |
method | removeAt(index) | |
int getCount()
GradientStop get(index) / set(index, value)
index - The index.add(position, color, alpha)
position: float - The position of the stop,in unit of percentage.color: CellsColor - The color of the stop.alpha: int - The alpha of the color.add(position, color, alpha)
position: float - The position of the stop,in unit of percentage.color: Color - The color of the stop.alpha: int - The alpha of the color.clear()
removeAt(index)
Iterator iterator()
Object get(index)
boolean contains(value)
int add(value)
int indexOf(value)