index property
num
get
index
Palette index value (or red channel if there is no palette).
Implementation
num get index;
set
index
(num i)
Implementation
set index(num i);