Skip to content

IShapeHitTestProvider.HitTest method

Tests whether a shape contains a point after its bounds test succeeds.

public ShapeHitTestResult HitTest(Shape shape, PathGeometry? renderedGeometry, Point point)
parameter description
shape The shape being tested.
renderedGeometry The rendered geometry, which the provider must not modify.
point The point in window coordinates.