Flood-filling

There are four options for floodfilling which are explained below.