painting graphics


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: painting graphics

  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

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center