15.8 Java 2D API
The Java 2D API provides advanced two-dimensional graphics capabilities for programmers who require detailed and complex graphical manipulations. The API includes features for processing line art, text and images in packages java.awt, java.awt.image, java.awt.color, java.awt.font, java.awt.geom, java.awt.print
and java.awt.image.renderable
. The capabilities of the API are far too broad to cover in this textbook. For an overview, see the Java 2D demo (discussed in Chapter 23, Applets and Java Web Start) or visit download.oracle.com/javase/6/docs/technotes/guides/2d/
. In this section, we overview several Java 2D capabilities.
Drawing with the Java 2D API is accomplished with a Graphics2D
reference (package java.awt
). Graphics2D ...
Get Java How to Program (early objects), 9/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.