getEnclosureList method
Gets the list of graphics elements whose rendered content is entirely contained within the specified rectangle.
![]() ![]() |
Syntax
var retval = SVGSVGElement.getEnclosureList(rect, referenceElement);Parameters
- rect [in]
-
Type: ISVGRect
The specified rectangle. The values for the rectangle are in the initial coordinate system for the current svg element.
- referenceElement [in]
-
Type: ISVGElement
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.
Return value
Type: Variant
A list of graphics elements whose rendered content is entirely contained within the specified rect rectangle.
Standards information
- Scalable Vector Graphics: Document Structure, Section 5.11.2
Remarks
A graphics element is considered a match only if the same graphics element can be a target of pointer events.
See also

