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 | | <@window> | Name of the picture window to draw. | |
||
| 19 | | <color1> | The color to replace. | |
||
| 20 | | <color2> | The color to replace with. | |
||
| 21 | | [x y w h] | the area of the picture to replace. | |