class Arc extends DJComponent { dj int centerX == x+width/2; dj int centerY == y+height/2; dj int startAngle in 0..360; dj int arcAngle in 0..360; dj boolean fill: }The attribute fill specifies whether the arc is filled or not. If fill is true, then the arc will be drawn by using the fillArc method; otherwise, the arc will be drawn by the drawArc method in Java.