Skip to main content

route_bounds

Function route_bounds 

Source
fn route_bounds(data: &Drawing<'_>, id: RouteId) -> Option<Rect>
Expand description

The bounding box of a route’s polyline, expanded slightly so an axis-aligned route (zero-width or zero-height bbox) still yields a usable region.