Draws and paints a polygon from a list of points. The current pen is used for drawing the outline, and the current brush for filling the shape.
If both the pen and brush are non-transparent, the polygon is filled with the brush before the outline is drawn with the pen. The filling and outline meet so that no space is left between them, but the precise overlap between the filling and outline is platform- and shape-specific. Thus, the regions drawn by the brush and pen may partially overlap.
Draw a filled polygon using a list of points, adding xoffset and yoffset to each point. The ploygon is automatically closed, so the first and last point can be different.
The fill-style argument specifies the fill rule: 'odd-even or 'winding.
Restrictions on the magnitude of drawing coordinates are described with dc<%>.