Description :
This instruction returns the color of the pixel located at a specified screen position.
Parameters :
-
X component of the pixel position.
-
Y component of the pixel position.
Return Value :
-
Packed Color of the pixel, for example:
COLOR_BLACK
COLOR_GREEN
COLOR_SILVER
COLOR_LIME
COLOR_GRAY
COLOR_WHITE
COLOR_MAROON
COLOR_RED
COLOR_PURPLE
COLOR_FUSHIA
COLOR_OLIVE
COLOR_YELLOW
COLOR_NAVY
COLOR_BLUE
COLOR_TEAL
COLOR_AQUA
COLOR_TRANSPARENCY
COLOR_DEFAULT
Examples :
|