Android Drawing Fill Tool
问题 I am making a drawing app for android and I need some help adding a fill tool. I want the tool to flood fill, and to behave like it would in Microsoft Paint, but on a phone. I have a custom view that draws a path on a canvas. I draw different paths for different pens and brushes, and I allow users to pick line thickness and color. When I do: paint.setStyle(Paint.Style.FILL); and I paint, I don't get a fill how I want. I have gotten some suggestions to use the "Flood Fill Algorithm", but I can