CONTENTS | PREV | NEXT Java 2D API

This preliminary draft replaces the previously released Java 2D White Paper and Programmer's Guide. As it is a work in progress, it may contain incomplete or inaccurate information. Where discrepancies exist between this document and the actual Java 2D classes and interfaces, please rely on the information in the .java and HTML reference files.

The code examples in this document have not all been tested. Please refer to the Java 2D demo application and code for validated sample code.

This guide describes the features provided by the Java 2D API and illustrates how you can use the Java 2D API classes to enhance your applications. This information is organized into eight chapters:

Overview --introduces the packages and key classes in the Java 2D API.
Getting Started with the Java 2D API--describes key concepts and illustrates how to perform basic operations with the Java 2D API, such as drawing and transforming 2D shapes, text, and images.
Graphics2D Context--describes the Java 2D API classes in the java.awt package and describes how to set up the Graphics2D context.
Geometries--describes the Java 2D API classes in the java.awt.geom package and describes how to define and manipulate 2D shapes and areas.
Text and Fonts--describes the Java 2D API classes in the java.awt.font package and describes how to specify and retrieve font information and display and manipulate international text.
Color--describes the Java 2D API classes in the java.awt.color package and color management.
Imaging--describes the Java 2D API classes in the java.awt.image, java.awt.image.codec, and java.awt.image.renderable packages and describes how to display and manipulate images and offscreen buffers.
Printing--describes the Java 2D API classes in the java.awt.print package and the Java 2D API printing model.


CONTENTS | PREV | NEXT
Copyright © 1997-1998 Sun Microsystems, Inc. All Rights Reserved.