Syntax
(xl,y1),(x2,y2)
color
B
F
style
LINE
Statement
Draws either a line or a rectangle, or a filled
'rectangle (Graphics Mode only).
LINE [STEP] [(xl,yl)]-[STEP] (x2,y2)
[,[color] [B, [F] [,style]]
represent absolute co-ordinates or relative coordinates if
STEP is included. If (x1,y1) is omitted the last referenced
point is assumed.
is the color number specifying the color in which the line or
rectangle is to be drawn (in the range
0
to
3).
Refer to the
COLOR graphics statement for the current screen mode for
details.
represents a rectangle
represents a rectangle to be filled (with color)
is an optional parameter that may be defined by the user to
produce varying line "styles", Le., varieties of dotted lines.
7-167