You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Hong Yip <ho...@gmail.com> on 2018/04/29 22:19:14 UTC

Finding if a path contains a given point

Hey folks,

Is there a way via Batik to determine if a point is inside a given closed
SVG path?  I had a look at PathParser, but it doesn't seem to have a what I
need. I also considered sampling the path and creating a polygon (since
seeing if a point is in a polygon ought to be simpler), but that's not
exactly a trivial operation :)