Project

General

Profile

Added in 1.9.0

/drawreplace -nr <@window> <color1> <color2> [x y w h]

Replaces all occurrences of color1 with color2.

Switches

-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

<@window> - Name of the picture window to draw.
<color1> - The color to replace.
<color2> - The color to replace with.
[x y w h] - the area of the picture to replace.

Also available in: PDF HTML TXT