FutureBasic Logo

<<    Index    >> FutureBasic 5

box   statement



Syntax:
box [fill] [h, v] to h1, v1 [to h2, v2 ...]

Description:
Draws a rectangle which has diagonally opposite corners at coordinates (h,v) and (h1,v1). The rectangle's frame is drawn using the current pen size, mode, pattern and color for the current window or printer. If the fill parameter is specified, then the rectangle is filled with the current window pattern.
If the to keyword is specified more than once, then several rectangles are drawn, each using (h,v) as one corner, and the coordinates following to as the diagonally opposite corner.
If the h and v parameters are omitted, then the rectangle's originating point is set to one of the following:

See Also:
circle; plot; pen