void (Component c, Graphics2D g2, float bw, Rectangle r, float lw, float arc) { Path2D border = new Path2D.Float(Path2D.WIND_EVEN_ODD); border.append(getOuterShape(r, bw, arc), false); arc = arc > lw ? arc - lw : 0.0f; border.append(getInnerShape(r, bw, lw, arc), false); if (hasFocus && isBorderless(c)) { Outline.focus.setGraphicsColor(g2, true); } else { g2.setColor(getOutlineColor(c.isEnabled(), hasFocus)); } g2.fill(border); }