Function ggez::graphics::rectangle [] [src]

pub fn rectangle(
    ctx: &mut Context,
    mode: DrawMode,
    rect: Rect
) -> GameResult<()>

Draws a rectangle.