HitTestElements(SKPoint, SKMatrix) Method

Definition

Namespace Svg.Skia
Assembly Svg.Skia.dll

Returns SVG elements that hit-test against a point in canvas coordinates.

public IEnumerable<SvgElement> HitTestElements(SKPoint point, SKMatrix canvasMatrix)

Parameters

point
SKPoint

Point in canvas coordinate space.

canvasMatrix
SKMatrix

Current canvas transform.

Returns

IEnumerable<SvgElement>
Enumerable of elements containing the point.