getEnclosureList method

Gets the list of graphics elements whose rendered content is entirely contained within the specified rectangle.

Scalable Vector Graphics: Document Structure, Section 5.11.2Internet Explorer 9



 retVal = object.getEnclosureList(rect, referenceElement);


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.

Standards information


A graphics element is considered a match only if the same graphics element can be a target of pointer events.



Community Additions

© 2016 Microsoft