[−][src]Function lyon_path::math::rect
pub fn rect<T, U>(x: T, y: T, w: T, h: T) -> TypedRect<T, U> where
T: Copy,
Shorthand for TypedRect::new(TypedPoint2D::new(x, y), TypedSize2D::new(w, h))
.
pub fn rect<T, U>(x: T, y: T, w: T, h: T) -> TypedRect<T, U> where
T: Copy,
Shorthand for TypedRect::new(TypedPoint2D::new(x, y), TypedSize2D::new(w, h))
.