Skip to main content

edge_band_of

Function edge_band_of 

Source
pub fn edge_band_of(rect: FracRect) -> (LayoutEdge, f64)
Expand description

The edge of the tab’s area a pane at rect belongs to, and how thick a band across that edge it makes (a fraction of the area). A pane that runs the whole length of an edge (a full-height column, a full-width row) is on one of those edges, the nearer; any other pane on its nearest edge. On a tie: left, top, right, bottom.