Project

General

Profile

Actions

Drawfill » History » Revision 5

« Previous | Revision 5/6 (diff) | Next »
Per Amundsen, 12/14/2019 10:04 AM


Added in 1.9.0

/drawfill [-ihnrs] <@window> <color> <color> <x y> [filename] [<x y>...]

Fills an area with the specified color starting at the specified co-ordinates.

Switches

-i - Draws in inverse mode.
-h - Highlights the windows icon if it is minimized.
-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.
-s - Indicates that the second color parameter is the color that should be filled (surface fill). If no -s is specified, the second color is the border color at which filling should stop (border fill).

Parameters

<@window> - Name of the picture window to draw.
<color> - The color used for the fill.
<color> - The color used to know how to fill (if -s, it fills as long as the color of the pixels around is the same color as the one you provide here, otherwise, it fills as long as the color of pixel is not the color you provide here)
<x y> - The coordinate where to fill.
[filename] - TODO
[<x y>...] - TODO

Updated by Per Amundsen about 5 years ago · 5 revisions

Also available in: PDF HTML TXT