pub fn bounds<'a>( data: impl PathData, style: impl Into<Style<'a>>, transform: Option<Transform>, ) -> Bounds
Computes the bounding box of the path.