Java Reference
In-Depth Information
Display 18.14 Specifying an Arc
g.drawArc(x, y, width, height, 0, 90);
Sweep through 90 degrees
Start at
0 degrees
g.drawArc(x, y, width, height, 0,
90);
Start at
0 degrees
Negative direction
g.drawArc(x, y, width, height, 0, 360);
width
( x , y )
Positive direction
0 degrees
height
g.drawArc(x, y, width, height, 180, 90);
Start at
180 degrees
Sweep through 90 degrees
 
Search WWH ::




Custom Search