Table of Contents

Method GetIntersectionList

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

GetIntersectionList(ISvgRect, ISvgElement)

Returns the list of graphics elements whose rendered content intersects the supplied rectangle, honoring the 'pointer-events' property value on each candidate graphics element.

public XmlNodeList GetIntersectionList(ISvgRect rect, ISvgElement referenceElement)

Parameters

rect ISvgRect

The test rectangle. The values are in the initial coordinate system for the current 'svg' element.

referenceElement ISvgElement

If not null, then only return elements whose drawing order has them below the given reference element.

Returns

XmlNodeList

A list of Elements whose content intersects the supplied rectangle.