FillRect

FillRect x1%, y1%, x2%, y2%, rgb_color%

Draws a filled 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 filled rectangle on the upper-left corner of the screen
FillRect 0, 0, 100, 100, &hFFFFFF


Comments