Skip to main content

hit_path

Function hit_path 

Source
pub fn hit_path(node: &LayoutNode, mx: f32, my: f32) -> Option<Vec<u16>>
Expand description

The child-index path (as in Widget::at_path) of the node hit_test finds at (mx, my); None on a miss.