• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 336
  • Last Modified:

Anti-Aliasing

How do I anti-alias a line using Grahics2D?
0
jtgraphic
Asked:
jtgraphic
  • 2
1 Solution
 
InteractiveMindCommented:
Try:

myGraphics2DInstance.setRenderingHint( RenderingHints.Key.KEY_ANTIALIASING, VALUE_ANTIALIAS_ON ) ;
0
 
jtgraphicAuthor Commented:
You made a typo. That should have been,

myGraphics2DInstance.setRenderingHint( RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON ) ;

but once I changed that it worked!

Thanks alot!
0
 
InteractiveMindCommented:
Oops, sorry :)

Thanks !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now