Skip to main content

hit_test

Function hit_test 

Source
pub fn hit_test(
    items: &[EvaluatedItem],
    size: CanvasSize,
    point: Point,
) -> Option<String>
Expand description

The front-most fill or stroke that paints the normalized point, by its fill rule (a stroke by its outline): the item’s place in the tree.