svgpathtools icon indicating copy to clipboard operation
svgpathtools copied to clipboard

isPointInFill equivalent in the library

Open AntonioL opened this issue 4 years ago • 1 comments

SVG provides the following function to perform query on a path: https://developer.mozilla.org/en-US/docs/Web/API/SVGGeometryElement/isPointInFill .

Basically I would like to check whether a specific path contains a specific point.

Use case is to take existing SVG and run some queries on the top of that from Python.

Is that possible?

AntonioL avatar Jan 17 '21 08:01 AntonioL

I believe I can do the test by creating a one point "Line".

I will try this.

Is the way to go?

AntonioL avatar Jan 17 '21 09:01 AntonioL