Project

General

Profile

Actions

Added in 1.9.0

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

Replaces all occurrences of color1 with color2.

Switches

Switch Description
-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

Parameter Description
<@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.

Updated by Per Amundsen over 1 year ago · 2 revisions

Also available in: PDF HTML TXT