Gets the list of graphics elements whose rendered content is entirely contained within the specified rectangle.
Syntaxvar retval = SVGSVGElement.getEnclosureList(rect, referenceElement);
- rect [in]
The specified rectangle. The values for the rectangle are in the initial coordinate system for the current svg element.
- referenceElement [in]
An element that specifies which elements should be included in the returned list. If this parameter is null, all matching elements are included in the returned list. If this parameter is not null, only those matching elements that have the referenceElement element as an ancestor are included in the returned list.
A list of graphics elements whose rendered content is entirely contained within the specified rect rectangle.
- Scalable Vector Graphics: Document Structure, Section 5.11.2
A graphics element is considered a match only if the same graphics element can be a target of pointer events.