Skip to content

Std graphics pixmap setpixel

std:std.graphics.Pixmap.SetPixel

Method SetPixel:Void( x:Int,y:Int,color:Color )#

Sets a pixel to a color.

Sets the pixel at x, y to pixel.

In debug builds, a runtime error will occur if the pixel coordinates lie outside of the pixmap area.

Parameters
x x The x coordinate of the pixel.
y y The y coordinate of the pixel.
color color The color to set the pixel to.