HitTestDrawables(SKRect, SKMatrix) Method

Definition

Namespace Svg.Skia
Assembly Svg.Skia.dll

Returns drawables that intersect with a rectangle in canvas coordinates.

public IEnumerable<DrawableBase> HitTestDrawables(SKRect rect, SKMatrix canvasMatrix)

Parameters

rect
SKRect

Rectangle in canvas coordinate space.

canvasMatrix
SKMatrix

Current canvas transform.

Returns

IEnumerable<DrawableBase>
Enumerable of drawables intersecting the rectangle.