Project

General

Profile

Drawreplace » History » Version 2

Per Amundsen, 02/16/2023 12:21 PM

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 2 Per Amundsen
table(ktable).
10
|*Switch*|*Description*|
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 1 Per Amundsen
14
*Parameters*
15
16 2 Per Amundsen
table(ktable).
17
|*Parameter*|*Description*|
18
| &lt;@window&gt; | Name of the picture window to draw. |
19
| &lt;color1&gt; | The color to replace. |
20
| &lt;color2&gt; | The color to replace with. |
21
| [x y w h] | the area of the picture to replace. |