Open AntonioL opened 3 years ago
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?
I believe I can do the test by creating a one point "Line".
I will try this.
Is the way to go?
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?