checkIntersection

external fun checkIntersection(element: SVGElement, rect: SVGRect): Boolean(source)

The checkIntersection() method of the SVGSVGElement interface checks if the rendered content of the given element intersects the supplied rectangle.

MDN Reference