Function graphics::polygon

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

Draws polygon.