esuslogo
 [To advertise Java(tm) Events here, contact joris@esus.com!]
banner

Java™
by example!






New @ Esus.com


  gb  In-house search engine for better results!

  gb  Get updates with the esus.com
newsletter!









  Home 
 Browse Categories 
 Ask a Java Question 
 Help 
  For Java Tips & Tricks, subscribe to the esus.com newsletter!
Search Java Q&A, Links, API's:   adv 

Become a member to observe this category
2-D Graphics

Java 2D is a set of classes that provide support for 2D graphics. It was first included in the JDK1.2 but the 1.3 adds new features. Look at the 1.2 API specifications and check for the classes that end on '2D' like Arc2D, CubicCurve2D, etc. These classes represent the basic shapes. The class GeneralPath allows you can create your own shapes, eg. combining straight and curved lines into another shape. With the class Area, you can perform geometrical calculations on two shapes, thereby creating a new shape. Check out the example programs here to see how it works!

Related Categories

Graphics, Java2D API, Image Processing, Java Advanced Imaging API, Filters and Transformations, Image Types, Animation, Java 3D, Java Media Framework

Featured Books


Subcategories



Questions & Answers
= answered, = unanswered

General:

  What is the difference between JIMI, JAI and Java2d and when would you use one over the other?
  paint(), update() and repaint()
  How do I draw a line?
  How do I draw a rectangle?
  How do I draw a rounded rectangle?
  How do I draw a circle or an ellipse?
  How do I draw a polygon?
  How do I draw text?
  How do I change the text layout?
  What is clipping and how do I use it?
  How do I transfer an Image over the network?
  How can a int array be converted into an image and displayed as fast as possible?
  What is the difference between paint(g) and paintComponent(g)?
  How do I serialize a BufferedImage?
  How do I get a list of all display modes?
  How do I switch to another display mode?
  How do I draw in full-screen mode?


Further Information (sorted alphabetically)
Tutorials:

Articles:

Related Links:

Products:

Related Books:







Terms of Service | Privacy Policy | Contact

Copyright © 2000-2003 Esus.com - All Rights Reserved 
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. Esus.com is independent of Sun Microsystems, Inc. All other trademarks are the sole property of their respective owners.