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.