|
LINE
This command will put a line on the screen in the current ink color.
LINE X1,Y1,X2,Y2
X1
Integer
This value specifies the start of the lines x coordinate.
Y1
Integer
This value specifies the start of the lines y coordinate.
X2
Integer
This value specifies the end of the lines x coordinate.
Y2
Integer
This value specifies the end of the lines y coordinate.
This command does not return a value.
The command requires two sets of Coordinates to draw a line from one to the other on the screen. You can also draw to a bitmap, by using the SET CURRENT BITMAP command.
LINE 50,50,320,240
WAIT KEY
BASIC2D Commands Menu
Index
|