WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

readAt

Moves the graphics cursor to the absolute x,y position on the display and reads the colour of the pixel.
Returns FALSE if there is no response from the display.
On return the graphics cursor is set to the specified x,y position.
Syntax
GraphicDisplay. readAt(x,y,colour)
GraphicDisplay. readAt(x,y,pixelColour)
Where GraphicDisplay is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'x'
The x value across the screen.
'y'
The y value down the screen.
'colour'
The colour.
'pixelColour'
The returned colour value.
Returns
boolean
Note
The compiler will issue a warning if you don't test the return value.

 

 

Valid XHTML 1.0 Transitional