Skip to main content

bounds

Function bounds 

Source
pub fn bounds(pts: &[Vec2]) -> Option<Rect>
Expand description

The bounding box of a flattened outline, ignoring contour breaks; None for no points.