Function graphics::polygon

source ·
pub fn polygon<G>(
    color: Color,
    polygon: Polygon<'_>,
    transform: Matrix2d,
    g: &mut G
)where
    G: Graphics,
Expand description

Draws polygon.