[Logo]
Forums Register Login
drawing a good circle!
So yes drawing a circle is a rather painless problem. However, when I draw my circle there is still a bit of aliasing going on and it irritates me and does not look good. Here is my code, its the paintComponent method followed by the paintBorder method...


and paintBorder...



you may notice that im using drawRoundRect instead of drawOval, you get the same effect either way, I simply have it this way because at one point I had rectangle buttons and then I decided upon circular buttons. So if anyone has any ideas on how to get a better drawn circle I would love to hear it.
Oh, sure, you could do that. Or you could eat some pie. While reading this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 1163 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 16, 2018 10:44:30.