Function piston_window::rectangle

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

Draws rectangle.