Drawline » History » Version 5
Per Amundsen, 02/16/2023 12:19 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Per Amundsen | */drawline [-ihnr] <@window> <color> <size> <x y> <x y> [<x y>...]* |
| 4 | 1 | Per Amundsen | |
| 5 | Draws a line from the first <x y> co-ordinate to the second, if more co-ordinates are specified, the line is continued. |
||
| 6 | |||
| 7 | *Switches* |
||
| 8 | |||
| 9 | 5 | Per Amundsen | table(ktable). |
| 10 | |*Switch*|*Description*| |
||
| 11 | | -i | Draws in inverse mode. | |
||
| 12 | | -h | Highlights the windows icon if it is minimized. | |
||
| 13 | | -n | Prevents the display from being updated immediately. | |
||
| 14 | | -r | Indicates that the color is in RGB format. You can use [[$rgb]](N,N,N) to create an RGB value. | |
||
| 15 | 1 | Per Amundsen | |
| 16 | *Parameters* |
||
| 17 | |||
| 18 | 5 | Per Amundsen | table(ktable). |
| 19 | |*Parameter*|*Description*| |
||
| 20 | | <@window> | The picture window to draw in. | |
||
| 21 | | <color> | Color off the line to draw. | |
||
| 22 | | <size> | Size of the line to draw. | |
||
| 23 | | <x y> | x,y co-ordinates to draw at. | |
||
| 24 | | [<x y>...] | Additional points to draw. | |