mySVGSVGElement.checkEnclosure( element, rect ) in SVG 1.1

Is the element within a rectangular area?

Arguments

nametypedescription
element SVGElement The element on which to perfor
rect SVGRect The test rectangle. The values
Return Type
Boolean

Description

Returns true if the rendered content of the given element is entirely contained within the supplied rectangle, honoring the 'pointer-events' property value on each candidate graphics element.