I do not think so.
Floodfill accepts the use of any current brush color; you cannot change it during the fill fill.
However, you can use the fill to set the color to something else on the image, then iterate over the pixels, check that pixel color, and perform gradient fills this way. This will take care of finding boundaries for you.
source
share