pub fn polygon<G>( color: Color, polygon: Polygon<'_>, transform: Matrix2d, g: &mut G, )where G: Graphics,
Draws polygon.