Skip to content

Instantly share code, notes, and snippets.

@adrienbrault
Created June 10, 2011 09:24
Show Gist options
  • Save adrienbrault/1018536 to your computer and use it in GitHub Desktop.
Save adrienbrault/1018536 to your computer and use it in GitHub Desktop.
Graphics2D graphics2D = (Graphics2D)graphics;
graphics2D.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment