What is the use of the fillArc() method?

February 9th, 2008 by uCertify Leave a reply »

The fillArc() method is used to draw a filled arc. It belongs to the Graphics class. The syntax of this method is as follows:

void fillArc(int top, int left, int width, int height, int startAngle, int sweepAngle)

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.
Like this article? Share it with others
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.
  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.