Image.setPixel

Sets the pixel to the specified position.

class Image
@safe nothrow pure
void
setPixel
(
int x
,
int y
,
Color!ubyte color
)

Parameters

x int

Pixel x-axis position.

y int

Pixel y-axis position.

color Color!ubyte

Pixel color.

Meta