Contents | Previous | Next

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. For additional information about the Java 2D APIs, see:

  • The Java Tutorial, 2nd Volume. Available online at:
    http://java.sun.com/docs/books/tutorial/2d/index.html
  • The 2D Text Tutorial. Available online from the Java Developer Connection:
    http://developer.java.sun.com/developer/onlineTraining/Graphics/2DText/
  • The Java 2D Sample Programs. Available online at:
    http://java.sun.com/products/java-media/2D/samples/index.html
  • The Java 2D Demo. Available from the Java 2D website:
    http://java.sun.com/products/java-media/2D/index.html

This information in this guide is organized into seven chapters:

Overview —introduces the packages and key classes in the Java 2D API.

Rendering with Graphics2D—describes the Java 2D API classes in the java.awt package and how to set up the Graphics2D rendering context.

Geometries—describes the Java 2D API classes in the java.awt.geom package and how to define and manipulate 2D shapes and areas.

Fonts and Text Layout—describes the Java 2D API classes in the java.awt.font package, how to specify and retrieve font information, and how to display and manipulate international text using the Java 2D text layout APIs directly.

Imaging—describes the Java 2D API classes in the java.awt.image, java.awt.image.codec, and java.awt.image.renderable packages and how to display and manipulate images and offscreen buffers.

Color—describes the Java 2D API classes in the java.awt.color package and color management.

Printing—describes the Java 2D API classes in the java.awt.print package and the Java 2D API printing model.

 

Contents | Previous | Next

Oracle and/or its affiliates
Java Technology

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.

Contact Us