fillarc does not work when start from 0 end at 359?

K

Kevin

in Graphics:
fillArc(int x, int y, int width, int height, int startAngle, int
arcAngle)

if startAngle =0, arcAngle = 359, it draws nothing.

but if use:
if startAngle =1, arcAngle = 359, it draws OK.

java 1.4.2, Win32. Any comments?

code to test:
Graphics g = this.getGraphics();
g.fillArc(100, 100, 50, 50, 0, 359);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top