Drawline » History » Version 2
Per Amundsen, 02/17/2014 08:12 AM
| 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 | -i - TODO |
||
| 10 | -h - TODO |
||
| 11 | -n - Prevents the display from being updated immediately. |
||
| 12 | -r - Indicates that the color is in RGB format. You can use [[$rgb]](N,N,N) to create an RGB value. |
||
| 13 | |||
| 14 | *Parameters* |
||
| 15 | |||
| 16 | <@window> - The picture window to draw in. |
||
| 17 | <color> - Color off the line to draw. |
||
| 18 | <size> - Size of the line to draw. |
||
| 19 | <x y> - x,y co-ordinates to draw at. |
||
| 20 | [<x y>...] - TODO |