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