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

readBy

Reads the pixel at the current graphics cursor plus the specified x,y offsets.
Returns FALSE if there is no response from the display.
Note that the current graphics cursor is left unchanged.
Syntax
GraphicDisplay. readBy(x,y,colour)
GraphicDisplay. readBy(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