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

rectangleAt

Draws, or fills, a rectangle in the current ink colour using the two specified co-ordinates as the top left and bottom right corners.
On return the graphics cursor will be set to x1,y1.
Syntax
GraphicDisplay. rectangleAt(x1,y1,x2,y2,fill)
Where GraphicDisplay is the name you have given to the device in Project Designer.
Parameters
TypeNameDescription
'x1'
The x value for point number 1.
'y1'
The y value for point number 1.
'x2'
The x value for point number 2.
'y2'
The y value for point number 2.
'fill'
FALSE to draw the outline or TRUE to fill the shape.
Returns
None
Note
Note that drawing beyond the edges of the screen will have an 'unknown' effect.

 

 

Valid XHTML 1.0 Transitional