What is the use of the fillArc() method?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What is the use of the fillArc() method?

Rating:

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.


Rating:



Other articles

Click here to Article home

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