DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2004
    Posts
    635

    painting graphics

    Is there any sort of antialiasing I can set when drawing shapes with Graphics2D?

  2. #2
    Join Date
    Dec 2005
    Location
    New Jersey
    Posts
    290
    In the Graphics2D class there's a method setRenderingHint(RenderingHints.Key, Object). You'll also want to look at the RenderingHints API.

    You might also find this link useful.

    PS. Google: antialiasing java
    Last edited by destin; 01-25-2006 at 10:54 AM.

  3. #3
    Join Date
    Mar 2004
    Posts
    635
    Perfect, exactly what I needed.

    I asked Google many things early this morning. Don't know why I didn't this time.

Similar Threads

  1. Painting Problem
    By evlich in forum Java
    Replies: 1
    Last Post: 06-27-2005, 06:19 PM
  2. What is the graphics object
    By Michael Culley in forum .NET
    Replies: 1
    Last Post: 05-05-2002, 12:02 PM
  3. Problem with paint (Graphics g )
    By Alan in forum Java
    Replies: 1
    Last Post: 03-12-2002, 09:21 PM
  4. help with Graphics class
    By Max in forum .NET
    Replies: 0
    Last Post: 03-20-2001, 01:48 PM
  5. Replies: 3
    Last Post: 03-12-2001, 08:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links