Skip to main content

aspect_ratio_f64

Function aspect_ratio_f64 

Source
pub fn aspect_ratio_f64(size: ImageSize) -> Option<f64>
Expand description

Returns the floating-point aspect ratio when the height is non-zero.