Open donatellosantoro opened 6 years ago
We use several NestPath
to describe a Ploygon with Holes. If you want to have a Hollow polygon with one hole, you have to create 2 NestPath
. So in your Example, NestPath outer
and NestPath inner
described ONE hollow polygon with rect hole, so it is correct for the result. The Svg result have some bugs dealing with expressing Hollow Polygon currently in my project.
@donatellosantoro It would be much appreciated if you help us build some JUnit test classes in this scenario~
Hi there, we found an issue regarding the placing of hollow polygons with
USE_HOLE = false
. In particular we expect that using this parameter we'll never have a polygon inside another.However, running the following code, we have the same result both with
USE_HOLE = false
andUSE_HOLE = true
.The result is the follow: as you can see, the second polygon is placed inside the first one.
Can you confirm that this is not the expected behavior? Thanks