Been trying to accomplish a paint like app to bucket fill any closed path, either it be two or more different items intersecting each other or a self intersecting one.
What is currently working is filling an item which intersects the first mouse down point and last mouse move point with closed = true
property which is pretty much direct to the point by just setting the fillColor = color
.
There are some boolean math operations to get the intersections but I am pretty much stuck with it as there's very little to none examples/resources around.