question: protected void drawPath ( GeneralPath path , Color fillColor , Paint fillPaint , Color penColor , boolean shadow ) { if ( fillColor != null || fillPaint != null ) { if ( shadow ) { g . setColor ( mxConstants . SHADOW_COLOR ) ; g . translate ( mxConstants . SHADOW_OFFSETX , mxConstants . SHADOW_OFFSETY ) ; g . fill ( path ) ; g . translate ( - mxConstants . SHADOW_OFFSETX , - mxConstants . SHADOW_OFFSETY ) ; } if ( fillPaint != null ) { g . setPaint ( fillPaint ) ; } else { g . setColor ( fillColor ) ; } g . fill ( path ) ; } if ( penColor != null ) { g . setColor ( penColor ) ; g . draw ( path ) ; } }
target:  Draws a path for the given parameters.