Method GetEnclosureList
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Model.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.
public XmlNodeList GetEnclosureList(ISvgRect rect, ISvgElement referenceElement)
Parameters
rectISvgRectThe test rectangle. The values are in the initial coordinate system for the current 'svg' element.
referenceElementISvgElementIf 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.