The fillArc() method is used to draw a filled arc. It belongs to the Graphics class. The syntax of this method is as follows:
The arc is bounded by a rectangle whose upper-left corner is defined by top and left, and whose sides are defined by width and height. The arc is drawn from a start angle value through an angular distance defined by the sweepAngle. Angles are defined in degrees. Zero degrees is marked on the horizontal, at the 3 o’clock position. The arc is drawn counterclockwise if the sweepAngle is positive, and clockwise if the sweepAngle is negative.
Become SUN SCJA certified. Get certified in first attempt download CX310-019 - SCJA simulation.If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
