Project

General

Profile

Drawfill » History » Version 3

Per Amundsen, 07/12/2016 12:48 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/drawfill [-ihnrs] <@window> <color> <color> <x y> [filename] [<x y>...]*
4
5
Fills an area with the specified color starting at the specified co-ordinates.
6
7
*Switches*
8
9
-i - TODO
10 2 Per Amundsen
-h - Highlights the windows icon if it is minimized.
11 1 Per Amundsen
-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 2 Per Amundsen
-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).
14 1 Per Amundsen
15
*Parameters*
16
17 3 Per Amundsen
<@window> - Name of the picture window to draw.
18 1 Per Amundsen
<color> - The color used for the fill.
19 2 Per Amundsen
<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)
20 1 Per Amundsen
<x y> - The coordinate where to fill.
21
[filename] - TODO
22
[<x y>...] - TODO