Image.setPixel

Change the color of a pixel.

This function doesn't check the validity of the pixel coordinates, using out-of-range values will result in an undefined behaviour.

class Image
void
setPixel
(
uint x
,
uint y
,)

Parameters

x uint

X coordinate of pixel to change

y uint

Y coordinate of pixel to change

color Color

New color of the pixel

Meta