[]Function piston_window::rectangle

pub fn rectangle<R, G>(
    color: [f32; 4],
    rect: R,
    transform: [[f64; 3]; 2],
    g: &mut G
) where
    G: Graphics,
    R: Into<[f64; 4]>, 

Draws rectangle.