Method GetEnclosureList
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Core.dll
GetEnclosureList(ISvgRect, ISvgElement)
Returns the list of graphics elements whose rendered content is entirely contained within the supplied rectangle, honoring the 'pointer-events' property value on each candidate graphics element.
XmlNodeList GetEnclosureList(ISvgRect rect, ISvgElement referenceElement)
Parameters
rect
ISvgRectThe test rectangle. The values are in the initial coordinate system for the current 'svg' element.
referenceElement
ISvgElementIf not null, then only return elements whose drawing order has them below the given reference element.
Returns
- XmlNodeList
A list of Elements whose content is enclosed by the supplied rectangle.