Function piston_window::polygon[][src]

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

Draws polygon.