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) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | clear() | → inherited from CollectionBase |
method | contains(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | get(index) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | indexOf(value) | → inherited from CollectionBase |
Reserved for internal use. | ||
method | iterator() | → inherited from CollectionBase |
method | removeAt(index) | → inherited from CollectionBase |
Property Getters/Setters Detail |
---|
getCount : int | |
int getCount() |
get/set : GradientStop | |
GradientStop get(index) / set(index, value) |
index
- The index.Method Detail |
---|
add | |
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 | |
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 | |
clear() |
removeAt | |
removeAt(index) |
iterator | |
Iterator iterator() |
get | |
Object get(index) |
contains | |
boolean contains(value) |
add | |
int add(value) |
indexOf | |
int indexOf(value) |