pub type AspectRatio = AspectRatio<NonNegativeNumber>;
Expand description
A computed value for the aspect-ratio
property.
Aliased Type§
struct AspectRatio {
pub auto: bool,
pub ratio: PreferredRatio<NonNegative<f32>>,
}
Fields§
§auto: bool
Specifiy auto or not.
ratio: PreferredRatio<NonNegative<f32>>
The preferred aspect-ratio value.