08-27-2009 10:09 PM - edited 08-27-2009 10:11 PM
I use version 4.6 and get a strange behaviour from the fillArc filling only part of a circle, when using setGlobalAlpha as per the code below:
graphics.setColor(Color.DARKGREEN); graphics.setGlobalAlpha(100); graphics.fillArc(r.x, r.y, r.width, r.height, 110, 300);
One of the bisecting lines that limits the arc is actually continuing across the centre of the circle and shines through the filling. If setGlobalAlpha is set to 255, then this effect can not be seen. I have uploaded a screen shot (http://www.flickr.com/photos/skogskar/3863113671/) to make it easier to understand the problem. The spurious line is going from the centre of the circle down to the left.
Anyone have any idea how to fix this?
Ps. I did not manage to upload the screen shot using the inser/edit image button here on the site. Anyone have an idea how to do that?