setPixelR abstract method

void setPixelR(
  1. int x,
  2. int y,
  3. num i
)

Set the red channel of the pixel, or the index value for palette images.

Implementation

void setPixelR(int x, int y, num i);