We're looking for a person or people to help audit MDN to find places we could speed up. Is this you or someone you know? Check out the RFP: https://mzl.la/2IHcMiE


The SVGGeometryElement.isPointInStroke() method determines whether a given point is within the stroke shape of an element. Normal hit testing rules apply; the value of the pointer-events property on the element determines whether a point is considered to be within the stroke. The point argument is interpreted as a point in the local coordiante system of the element.


boolean someElement.isPointInStroke(DOMPoint point);


A DOMPoint interpreted as a point in the local coordinate system of the element.

Return value

A boolean indicating whether the given point is within the stroke or not.


Specification Status Comment
Scalable Vector Graphics (SVG) 2
The definition of 'SVGGeometryElement.isPointInStroke()' in that specification.
Candidate Recommendation Initial definition

Browser compatibility

We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) ? No support[1] ? ? ?
Feature Android Android Webview Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile Android Webview
Basic support ? (Yes) No support[1] ? ? ? (Yes)

[1] This method is not yet implemented. See bug 1325319.

Document Tags and Contributors

 Contributors to this page: jpmedley, Sebastianz
 Last updated by: jpmedley,