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