Editors Note: Unsure arguments:
[screen]
[ID]
Functions Documentation
View Function Edit Function
Name cnvDrawRect
Syntax (cnvDrawRect x y width height color [screen] [ID])
Argument List x: the x coordinate of image to be drawn
y: the y coordinate of image to be drawn
width: width of the rectangle
height: height of the rectangle
color: a list of 3 numbers in hexadecimal to define color
[screen]: unsure. Guess: the screen you want to draw on
[ID]: unsure
Returns boolean: true if successful
Category screen, canvas
Description Lets you draw a rectangle of specified size and color on a canvas screen.
Example From &dsNeurohack;

(cnvDrawRect 0 60 528 80 '(74 71 95))

As you can see, [Screen] and [ID] are not used.
Comment The coordinates 0,0 correspond to the top left of the dockscreen. You have about 600x400 pixels to draw on.
As you can see, [Screen] and [ID] are not used.
More on that here: http://www.neurohack.com/transcendence/forums/viewtopic.php?p=24021#p24021