Hi Rüdiger,
I think you can call a method on the Graphics object to turn
anti-aliasing on, after casting it to a Graphics2D object. You can do
this in your paint() method. You might want to create() your own copy
of the Graphics object to do this on.
Map map = new HashMap();
map.put(Graphics2D. KEY_ANTIALIASING, Graphics2D. VALUE_ANTIALIAS_ON);
((Graphics2D)g).addRenderingHints(map);
Cheers,
Don
On Wednesday, June 12, 2002, at 08:06 AM, Gubler, Rüdiger wrote:
>
> Hello,
>
> in which way can i do an antialiasing of ompoly-objects in OpenMap 4.5.
> They are viewed with some unaesthetic steps in it.
>
>
> Yours Rüdiger
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Wed Jun 12 17:40:57 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT