Description
Description/Steps to reproduce
Hey guys, sorry if this is not the right place this question. I was wondering if someone with more PaperJS experience could help me with this. I'm trying to fill the an entire Path, including its holes and negative spaces.
I understand that I can call resolveCrossings
to break the path at all self-intersections, but that doesn't seem to account for negative spaces between self-intersections.
For example, the below pathData
produces this path:
var path = new Path("M284.16424,537l251.83576,-251.83576l251.83576,251.83576l-503.67153,-251.83576l251.83576,251.83576l251.83576,-251.83576z");
After calling resolveCrossings
the resulted CompoundPath
have 6 paths (one of each filled section).

But what I'm looking to achieve is fill every everything, including those two negative spaces, resulting in something like this:
