/drawline -ihnr @ <color> <size> <x y> <x y> [<x y>...]
Draws a line from the first <x y> co-ordinate to the second, if more co-ordinates are specified, the line is continued. The switches are the same as those in /drawdot.
-i draws in inverse mode. -h highlights the windows icon if it is minimized. -n prevents the display from being updated immediately. This allows you to make changes to the window in the background and then display the results only when you have finished. You can update the display by using any of the /draw commands with only the window name specified. -r indicates that the color is in RGB format. You can use $rgb(N,N,N) to create an RGB value.
/drawline -h @drawingboard 4 3 5 35 5 67
Draws a line in the window @drawingboard with a width of 4 pixels, starting from x=5,y=35 and ends at x=5,y=67
The whole window can be cleared by using the /clear command, eg. /clear @name. You can also specify the -n switch in /clear to delay the effect as described above.
- $rgb for the use of RGB colors with this identifier.