@Override public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle, boolean fill) { ARC.setArc(x, y, width, height, startAngle, arcAngle, fill ? Arc2D.PIE : Arc2D.OPEN); if (fill) { fill(ARC, true); } else { draw(ARC); } }
@Override public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle, boolean fill) { ARC.setArc(x, y, width, height, startAngle, arcAngle, fill ? Arc2D.PIE : Arc2D.OPEN); if (fill) { fill(ARC, true); } else { draw(ARC); } }