CANVAS:set pixel

CANVAS:set_pixel(x, y, clr)

Set the pixel value at x, y to the specified color. This is equivalent to drawing a 1x1 filled rectangle.

Parameters: x The x position pixel y The y position pixel color An RGB color value as an integer value.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request



Article is closed for comments.