[][src]Function nannou::ui::graph::algo::cropped_area_of_widget

pub fn cropped_area_of_widget(
    graph: &Graph,
    idx: NodeIndex<u32>
) -> Option<Rect>

The rectangle that represents the maximum visible area for the widget with the given index.

Specifically, this considers the cropped scroll area for all parents.

Otherwise, return None if the widget is hidden.