set abstract method

void set(
  1. int index,
  2. int channel,
  3. num value
)

Set a specific channel value of the palette entry at index. If the palette has fewer channels than channel, the value will be ignored.

Implementation

void set(int index, int channel, num value);