Skip to content

Std graphics pixmap setpixelargb

std:std.graphics.Pixmap.SetPixelARGB

Method SetPixelARGB:Void( x:Int,y:Int,color:UInt )#

Sets a pixel to an ARGB 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 pixel to set in ARGB format.