Function piston_window::polygon

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

Draws polygon.