Project

General

Profile

Drawline » History » Revision 4

Revision 3 (Per Amundsen, 07/12/2016 12:33 AM) → Revision 4/5 (Per Amundsen, 07/17/2016 04:16 AM)

_Added in 1.9.0_ 

 */drawline [-ihnr] <@window> <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. 

 *Switches* 

 -i - Draws in inverse mode. TODO 
 -h - Highlights the windows icon if it is minimized. 
 -n - Prevents the display from being updated immediately. 
 -r - Indicates that the color is in RGB format. You can use [[$rgb]](N,N,N) to create an RGB value. 

 *Parameters* 

 &lt;@window&gt; - The picture window to draw in. 
 &lt;color&gt; - Color off the line to draw. 
 &lt;size&gt; - Size of the line to draw. 
 &lt;x y&gt; - x,y co-ordinates to draw at. 
 [&lt;x y&gt;...] - Additional points to draw.