|
DOT
This command will put a pixel on the screen in the current ink color.
DOT X,Y
DOT X,Y,Color Value
X
Integer
This value specifies the x coordinate of the pixel to be written.
Y
Integer
This value specifies the y coordinate of the pixel to be written.
Color Value
Dword
This value specifies the colour value to be used instead of the default foreground ink colour.
This command does not return a value.
The command requires coordinates to place the pixel on the screen. You can also draw to a bitmap, by using the SET CURRENT BITMAP command. You can make this command significantly faster by using the LOCK PIXELS command.
FOR X=0 to 640
DOT X,240,RGB(255,0,0)
NEXT X
WAIT KEY
BASIC2D Commands Menu
Index
|