FLOODFILL is a drawing tool capable of filling areas consisting of similar pixels. Th similarity is determined by selected method and by specifying maximum difference (called tolerance on the GUI).
FLOODFILL tool can be used from scripts. The command in script may have 2 to 4 parameters:
DrawTool.FLOODFILL(Document, 100, 100, 10, "HLSA");
See also: DrawTool object, Document object
Find out how Vista icons differ from XP icons.
See how RealWorld Icon Editor handles Vista icons.