Rect

Rect x1%, y1%, x2%, y2%, rgb_color%

Draws a rectangle on the screen.

The point x1%,y1% is upper-left corner while the point x2%,y2% is lower-right corner of the rectangle rgb_color% is the color of the "brush" used to draw the figure.


Example:

Rem Draw a white squared frame on the upper-left corner of the screen
Rect 0, 0, 100, 100, &hFFFFFF



Comments