Re: How to turn off Antialiasing in 1.6?
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 27 Jan 2008 03:30:00 GMT
On Fri, 25 Jan 2008 21:27:30 -0800, Knute Johnson
<nospam@xxxxxxxxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted
someone who said :
So is there a way to turn it off for a specific component? All
anti-aliasing can be turned off with the -D option even if Clear Type is
on. But if Clear Type is on or the -D option specifies anti-alias on
you can't turn it off in the paintComponent() method.
In JDK 1.6+ there are also new values to use in setRenderingHints key
and value, including VALUE_ANTIALIAS_OFF to turn anti-aliasing off.
http://java.sun.com/javase/6/docs/api/java/awt/RenderingHints.html
--
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
.
- Follow-Ups:
- Re: How to turn off Antialiasing in 1.6?
- From: Knute Johnson
- Re: How to turn off Antialiasing in 1.6?
- References:
- How to turn off Antialiasing in 1.6?
- From: Alia
- Re: How to turn off Antialiasing in 1.6?
- From: Roedy Green
- Re: How to turn off Antialiasing in 1.6?
- From: Knute Johnson
- How to turn off Antialiasing in 1.6?
- Prev by Date: Re: Creating image thumbnails is slow on Mac platform, suggestions for improvement?
- Next by Date: Re: Internationalization
- Previous by thread: Re: How to turn off Antialiasing in 1.6?
- Next by thread: Re: How to turn off Antialiasing in 1.6?
- Index(es):