Function rin_graphics::path::rect [−][src]
pub fn rect<Point>(
pos: Point,
w: <Point as NumPnt>::Field,
h: <Point as NumPnt>::Field
) -> Path2D<Point> where
Point: FloatPnt + Copy,
<Point as NumPnt>::Field: RealField + Float + NumCast + Neg,
<Point as NumPnt>::Coordinates: Neg<Output = <Point as NumPnt>::Coordinates>,
Returns a path containing a rectangle