RECT |
Top Previous Next |
Syntax RECT(win as WINDOW,l as INT,t as INT,w as INT,h as INT,OPT outline as UINT, OPT fill as UINT) Description Draws a rectangle in the window. Parameters win - Window to draw into. l, t, w, h - Coordinates and dimensions of the rectangle. outline - Optional outline color. fill - Optional fill color. Return value None. Remarks If outline and fill are not specified the rectangle will be drawn in the current foreground color. Example usage RECT mywindow, 0,0,100,100, RGB(255,0,0), RGB(0,0,255) |