Function piston_window::rectangle[][src]

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

Draws rectangle.