src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java
@Override
    public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) {
        GeneralPath p = GraphicsUtils.createPolygon(xPoints, yPoints, nPoints, 
                true);
        draw(p);
    }
@Override
    public void drawPolygon(int[] xPoints, int[] yPoints, int nPoints) {
        GeneralPath p = GraphicsUtils.createPolygon(xPoints, yPoints, nPoints, 
                true);
        draw(p);
    }
@ Override public void drawPolygon ( int [ ] xPoints , int [ ] yPoints , int nPoints ) { GeneralPath p = GraphicsUtils . createPolygon ( xPoints , yPoints , nPoints , true ) ; draw ( p ) ; }
Draws the specified polygon using the current {@code paint} and
{@code stroke}.

@param xPoints  the x-points.
@param yPoints  the y-points.
@param nPoints  the number of points to use for the polygon.

@see #fillPolygon(int[], int[], int)
Draws the specified polygon using the current { @code paint } and { @code stroke } .