- I have achieved to flood fill on the close boundary with solid color.
- Now I am trying to fill close boundary with UIColor but it is pattern image color (Pattern color).
- I also try to get points of close area where i tap and fill that area with use of bezier path, but it took too much time to get an array of close boundary area points.
- Please help me to achieve to fill pattern on UIImage object to specific close boundary area.
Asked
Active
Viewed 446 times
6

Paresh Patel
- 380
- 4
- 14
-
Can you elaborate more? you want the coding or the algorithm? Can you share a sample image? – MeiH Feb 12 '20 at 17:42
-
Sure, i have A clipart, i wanted to fill any specific area with close i.e with black border, tap on that area and that area should be fill with pattern, like flood fill – Paresh Patel Feb 13 '20 at 05:58
1 Answers
-1
Did you try:
let patternColor = UIImage(patternImage: <your UIImage>)

nine stones
- 3,264
- 1
- 24
- 36
-
This is not an answer, what i am looking for, i mentioned i wanted to fill pattern on UIImage object to specific close boundary area. – Paresh Patel Feb 13 '20 at 05:59