I have a function to use flood-fill to fill image segments with different color. How can I fill the segments with different textures, as shown by the picture?
I have a function to use flood-fill to fill image segments with different color. How can I fill the segments with different textures, as shown by the picture?