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

setPaper

Sets the paper colour.
Syntax
GraphicDisplay. setPaper(red,green,blue)
GraphicDisplay. setPaper(paperColour)
GraphicDisplay. setPaper(colour)
Where GraphicDisplay is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'red'
The amount of red - in the range 0 (min) to 255 (max).
'green'
The amount of green - in the range 0 (min) to 255 (max).
'blue'
The amount of blue - in the range 0 (min) to 255 (max).
'paperColour'
The paper colour.
'colour'
The colour.
Returns
None
Note
Drawing non-transparent text will use the paper colour as the text background.
If the display is cleared then the whole display is set to the new background colour.

 

 

Valid XHTML 1.0 Transitional