Re: How to turn off Antialiasing in 1.6?



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
.