src/main/java/org/jfree/graphics2d/svg/SVGGraphics2D.java
@Override
    public void setColor(Color c) {
        if (c == null) {
            return;
        }
        this.color = c;
        this.paint = c;
    }
@Override
    public void setColor(Color c) {
        if (c == null) {
            return;
        }
        this.color = c;
        this.paint = c;
    }
@ Override public void setColor ( Color c ) { if ( c == null ) { return ; } this . color = c ; this . paint = c ; }
Sets the foreground color.  This method exists for backwards
compatibility in AWT, you should use the
{@link #setPaint(java.awt.Paint)} method.

@param c  the color ({@code null} permitted but ignored).

@see #setPaint(java.awt.Paint)
Sets the foreground color . This method exists for backwards compatibility in AWT you should use the { @link #setPaint ( java . awt . Paint ) } method .