statement/BOX statement/BOX NAME BOX -- Draws a rectangle ABBREVIATION b <shift> O SYNOPSIS BOX [<color_src>],<left>,<top>[,<right>,<bottom>][,<angle>[,<fill_flag>] FUNCTION This command allows you to draw a rectangle of any size anywhere on the screen. To get the default value, include a comma without entering a value. Rotation is based on the centre of the rectangle. The Pixel Cursor (PC) is left at <right>,<bottom> after the BOX statement is executed. INPUTS <color_src> - draw color source (0-3); default is 1 (foreground color) <left> - scaled corner coordinate <top> - scaled corner coordinate <right> - scaled corner coordinate <bottom> - scaled corner coordinate <angle> - box rotation in clockwise degrees; default is 0 degrees <fill_flag> - fill flag (0 or 1); default is 0 (no filling) RESULT Draws a rectangle. EXAMPLES BOX 1,10,10,60,60 Draws the outline of a rectangle. BOX ,10,10,60,60,45,1 Draws a filled, rotated box (a diamond). BOX ,30,90,,45,1 Draws a filled, rotated polygon. NOTES None BUGS None SEE ALSO CIRCLE DRAW GRAPHIC PAINT