Project

General

Profile

Drawline » History » Version 3

Per Amundsen, 07/12/2016 12:33 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 3 Per Amundsen
-h - Highlights the windows icon if it is minimized.
11 1 Per Amundsen
-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
&lt;@window&gt; - The picture window to draw in.
17
&lt;color&gt; - Color off the line to draw.
18
&lt;size&gt; - Size of the line to draw.
19
&lt;x y&gt; - x,y co-ordinates to draw at.
20 3 Per Amundsen
[&lt;x y&gt;...] - Additional points to draw.