Function lyon_path::math::rect[][src]

pub fn rect(x: f32, y: f32, w: f32, h: f32) -> Rect

Shorthand for Rect::new(Point::new(x, y), Size::new(w, h)).