std.graphics.Pixmap.GetPixelARGB - nitrologic/monkey2 GitHub Wiki

std::std.graphics.std.graphics.Pixmap.GetPixelARGB

Method GetPixelARGB:monkey:monkey.types.Uint( x:monkey:monkey.types.Int,y:monkey:monkey.types.Int )

Gets the ARGB color of a pixel.

Get the pixel at x, y and returns it in ARGB format.

Parameters
x x the x coordinate of the pixel.
y y the y coordinate of the pixel.