(I made these in paint, not in java)
25%

75%

How would i do this with fillArc()?
What i already have:
I draw the background:
g.drawOval(0, 0, 100, 100);I can fill half the oval:
g.fillArc(0, 0, 100, 100, 0, -180);
How fillArc works:
fillArc(x, y, width, height, startAngle, angle);
- 3 o'clock is 0°
- positive values go clockwise, negative values go counter clockwise

Thanks, Dunnkers.
Edited by dunnkers, 02 February 2011 - 10:01 AM.


Sign In
Create Account


Back to top









