| 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) | |
Add a gradient stop.
|
||
method | clear() | |
method | iterator() | |
Reserved for internal use. |
||
method | removeAt(index) | |
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.clear()
removeAt(index)
Iterator iterator()