Open akuklev opened 10 years ago
Thank you for reporting this. This is a known issue and the explanation to why it is like this can be read in this issue:
https://github.com/StarlingGraphics/Starling-Extension-Graphics/issues/81
(Don't let the title fool you, the issue is at heart the same as the one you describe here.
It is very hard to solve, and most likely, it won't be solved.
The triangulation routine does not process polygons with holes correctly. Both in the case one introduced the holes like in genuine Flash graphics (beginFill, moveTo-lineTo-lineTo for outer contours, then moveTo-lineTo-lineTo for the holes, endFill afterwards) and also in the case one produced holes by making a self-touching contour, like: