setPixelRgb method

void setPixelRgb(
  1. int x,
  2. int y,
  3. num r,
  4. num g,
  5. num b,
)

Set the color of the Pixel at the given coordinates to the given color values r, g, b.

Implementation

void setPixelRgb(int x, int y, num r, num g, num b) =>
    data?.setPixelRgb(x, y, r, g, b);