|
We're glad you came by, but you might find what you're looking for elsewhere. TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it. Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope. |
Draws a line between a set of two coordinates.
Line xStart, yStart, xEnd, yEnd, drawmode
Menu Location
This command can't be found in any menu besides the command catalog.
This command works on all calculators.
X byte(s)
The line command draws a line between two points. By default, the drawing mode is set to 1, which draws the line normally, so it doesn't have to be included if drawing a regular line.
Line 0, 3, 0, 9Advanced Uses
The drawmode can be set to 0 to draw a "white" line, which will remove the pixels on the path of the line.
Line 0, 3, 0, 9, 0 //removes the lineYou can also invert pixels on the line using -1 as the number argument.
Line 0, 3, 0, 9, -1