Skip to main content

zone

Function zone 

Source
pub fn zone(
    bounds: Bounds<Pixels>,
    bar_height: Pixels,
    pointer: Point<Pixels>,
) -> Option<Zone>
Expand description

Hit-test a pane in window coordinates. Corners choose the nearest normalized edge.