Re: How to turn off Antialiasing in 1.6?
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 26 Jan 2008 19:52:42 -0800
Roedy Green wrote:
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
Apparently you can't stop XP from drawing with Clear Type by selecting the anti-alias off on the Graphics2D.
--
Knute Johnson
email s/nospam/knute/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDem
.
- Follow-Ups:
- Re: How to turn off Antialiasing in 1.6?
- From: Roedy Green
- 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
- Re: How to turn off Antialiasing in 1.6?
- From: Roedy Green
- How to turn off Antialiasing in 1.6?
- Prev by Date: Re: Internationalization
- Next by Date: Re: How to turn off Antialiasing in 1.6?
- 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):