Skip to main content

content_bbox

Function content_bbox 

Source
pub fn content_bbox(tree: &Tree) -> Option<Rect>
Expand description

The tree content’s absolute bounding box (strokes included), or None for empty art — the input for safe-zone validation (an Android adaptive foreground overflowing the 66/108 zone).