menu Image FloodFill
menu Image FloodFill {name} {x} {y} {colour}Also searchable as: menu Image FloodFill · paint bucket · fill
menu Image FloodFill works like the paint bucket of a drawing program: starting at x, y, it fills the
connected area that has the same colour as that pixel with the new colour. Positions are inside the image, 0, 0 being its top-left corner.
A colour, see Colours: a name such as red or btnface, or a $BBGGRR number. $FEEEED is the transparent colour of images: painting with it makes those pixels see-through.
Example
Section titled “Example”menu Clearmenu Window Size 84 84menu Image Create pic 10 10 64 64menu Image Ellipse pic 8 8 56 56 black #falsemenu Image FloodFill pic 32 32 green ; fill the inside of the circlemenu ShowhaltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.