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

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

@see #drawPolygon(int[], int[], int)
Fills the specified polygon using the current { @code paint } .