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.
Pass SCJA in first attampt. Download free practice test for SUN SCJA exam.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.
