setGreen abstract method

void setGreen(
  1. int index,
  2. num value
)

Set the green channel of the palette entry at index. If the palette has fewer colors or channels, it will be ignored.

Implementation

void setGreen(int index, num value);