Function cosmic::widget::canvas::path::lyon_path::math::size

source ยท
pub fn size(w: f32, h: f32) -> Size2D<f32, UnknownUnit>
Expand description

Shorthand for Size::new(x, y).