Function size
pub fn size(w: f32, h: f32) -> Size2D<f32, UnknownUnit>
Available on crate feature
canvas
only.Expand description
Shorthand for Size::new(x, y)
.
pub fn size(w: f32, h: f32) -> Size2D<f32, UnknownUnit>
canvas
only.Shorthand for Size::new(x, y)
.