Need help with fillArc()
I want to create some sort of progress circle like this:
(I made these in paint, not in java)
How would i do this with fillArc()?
What i already have:
I draw the background:
I can fill half the oval:
g.drawOval(0, 0, 100, 100);
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
As stated above, i crossposted this thread.
I refer you to: Need help with fillArc() - Java Programming Forums
Sorry for the crosspost.
And it's been solved in yet another cross-post but the OP hasn't mentioned that here yet. What's with that?