Skip to main content

Module hit_testing

Module hit_testing 

Source
Expand description

Hit testing of the composition visual tree.

Structs§

CompositionHitTestAabbTree
An index of the children of a visual for hit testing: the children are grouped into buckets by their order, and each bucket is a dynamic tree of axis-aligned bounding boxes.
GeometryCompositionHitTester
Hit testing with a geometry.
PointCompositionHitTester
Hit testing with a point.

Traits§

ICompositionHitTester
A kind of hit test of the composition visual tree: what is tested (a point, a geometry) and how it relates to visuals.

Functions§

is_hit
result > IntersectionResult.Empty.