pub fn zone(
bounds: Bounds<Pixels>,
bar_height: Pixels,
pointer: Point<Pixels>,
) -> Option<Zone>Expand description
Hit-test a pane in window coordinates. The bar, and anything further than a
quarter of the pane from every edge, is Zone::Join. Corners choose the
nearest normalized edge.