FloodFill iphone implementation.How to do this?

I am going to develop an application for coloring an image. For this, the fill algorithm is used. I don’t know how to implement iphone fill algorithm. I want to do the same as android .. I have code for implementing floodfill in android.But, I really don't know how to make for iphone the same as android.

Here, the fill fill algorithm is used to color the image. I did this before choosing a color from the color palette. Now I want to apply color to the image (partially in parts). Just think, Rose has many parts., Bodice, sticky light, etc.

Each part of the image is placed as a separate image. All kinds of images are placed in uiview.

please help me do this.

Thank you for your attention and efforts.

Renuga

+3
source share

Source: https://habr.com/ru/post/1791456/


All Articles