The Java 2DTM API is a set of classes for advanced 2D graphics and imaging. It encompasses line art, text, and images in a single comprehensive model. The API provides extensive support for image compositing and alpha channel images, a set of classes to provide accurate color space definition and conversion, and a rich set of display-oriented imaging operators. These classes are provided as additions to the java.awt and java.awt.image packages.
The Java 2D API (Java 2D) is a set of classes that extend the capabilities of Sun's Abstract Windowing Toolkit (AWT). Java 2D handles arbitrary shapes, text, and images and allows all of these to be rotated, scaled, skewed, and otherwise transformed in a uniform manner. By leveraging the inherent strengths of Java technology, Java 2D brings the concept of "Write Once, Run AnywhereTM" to applications that require enhanced 2D graphics and imaging capabilities. As a result, developers are easily able to incorporate high-quality, scalable and platform-independent graphics into Java based applets and applications.