Project

General

Profile

Drawreplace » History » Version 1

Per Amundsen, 07/12/2016 12:58 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/drawreplace -nr <@window> <color1> <color2> [x y w h]*
4
5
Replaces all occurrences of color1 with color2.
6
7
*Switches*
8
9
-n - Prevents the display from being updated immediately.
10
-r - Indicates that the color is in RGB format. You can use [[$rgb]](N,N,N) to create an RGB value.
11
12
*Parameters*
13
14
&lt;@window&gt; - Name of the picture window to draw.
15
&lt;color1&gt; - The color to replace.
16
&lt;color2&gt; - The color to replace with.
17
[x y w h] - the area of the picture to replace.