Line Command

This command is used to draw a line segment between two points. The syntax is as follows:

Line Xstart, Ystart, Xend, Yend, drawmode

Xstart is the x coordinate of the first point.

Ystart is the y coordinate of the first point.

Xstart and Ystart are the X and Y coordinates of the second point, respectively.

Drawmode is how the calculator interprets the command. This is optional, but recommended. If this value is 1, the pixels will be turned on. If the value is 0, the pixels will be turned off. If the value is -1 (negative one), the values of the pixels will be inverted (Pixels that are on will be turned off, and pixels that are off will be turned on.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License