-
Chapter 1 Introduction
-
What Is Java 2D?
-
What Can Java 2D Do?
-
Relatives
-
Genesis
-
Where Do I Get a Graphics2D?
-
File Formats
-
Hello, 2D!
-
-
Chapter 2 The Big Picture
-
Graphics2D
-
The Rendering Pipeline
-
All About Alpha
-
Compositing
-
Coordinate Space
-
-
Chapter 3 Geometry
-
Points
-
Shapes and Paths
-
Lines and Curves
-
Rectangles
-
Ellipses and Arcs
-
Constructive Area Geometry
-
-
Chapter 4 Painting and Stroking
-
Painting
-
Stroking
-
Overlap
-
-
Chapter 5 Rendering
-
Transforming
-
Compositing
-
Clipping
-
Rendering Hints
-
-
Chapter 6 Text
-
Overview
-
Drawing Text
-
Fonts
-
Font Metrics
-
-
Chapter 7 Advanced Text Layout
-
Using the TextLayout Class
-
Getting Close to the Metal
-
-
Chapter 8 Color
-
If You're Not Too Picky...
-
Physics and Physiology
-
Color Spaces
-
Profiles
-
Putting It All Together
-
-
Chapter 9 Images
-
Overview
-
Where Do Images Come From?
-
Displaying Images
-
Drawing on Images
-
Double Buffering
-
A Useful Class
-
-
Chapter 10 Image Processing
-
The New Model
-
An Appetizer
-
Predefined Operations
-
Roll Your Own
-
-
Chapter 11 Image Guts
-
BufferedImage
-
Color Models
-
Rasters
-
Sample Models
-
Data Buffers
-
A PNG Decoder
-
-
Chapter 12 Devices
-
The Local Graphics Environment
-
The GraphicsDevice Class
-
Device Configurations
-
-
Chapter 13 Printing
-
How Printing Works
-
Controlling Printing
-
Power Printing
-
-
Chapter 14 Animation and Performance
-
It's Tougher Than You Might Think
-
See for Yourself
-
Memory
-
Optimizations
-
-
Chapter 15 Color Gallery
-
Figure 15-1
-
Figure 15-2
-
Figure 15-3
-
Figure 15-4
-
Figure 15-5
-
Figure 15-6
-
Figure 15-7
-
Figure 15-8
-
Figure 15-9
-
Figure 15-10
-
Figure 15-11
-
Figure 15-12
-
Figure 15-13
-
Figure 15-14
-
Figure 15-15
-
Figure 15-16
-
Figure 15-17
-
Figure 15-18
-
Figure 15-19
-
Figure 15-20
-
Figure 15-21
-
Figure 15-22
-
Figure 15-23
-
Figure 15-24
-
Figure 15-25
-
Figure 15-26
-
Figure 15-27
-
Figure 15-28
-
Figure 15-29
-
Figure 15-30
-
Figure 15-31
-
Figure 15-32
-
-
Colophon
- Title:
- Java 2D Graphics
- By:
- Jonathan Knudsen
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- May 1999
- Pages:
- 368
- Print ISBN:
- 978-1-56592-484-0
- | ISBN 10:
- 1-56592-484-3
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Java 2D Graphics is a John Dory fish. The name John Dory fish, or dory, can refer to about 10 species of marine fish in the Zeidae family. They can be found in the temperate waters of oceans worldwide. Adults tend to stay on or near the ocean floor, in depths ranging from the shore to 650 feet. Young dories often hide in seaweed. Most species are about 1–2 feet long, though some can grow up to 3 feet. The largest weigh around 20 pounds.
All dories have the same odd look: a large, pouty mouth and a body that is deep but extremely thin from side to side. Their anterior dorsal fin is made up of several spines. Instead of regular scales, they have large modified scales called scutes. They are usually silvery or yellow in color and have a dark spot on each side of their fattened body.
The John Dory's strange appearance aids in hunting. Though weak swimmers, they feed on small fish and crustaceans. A dory will carefully approach his prey by trembling his anal and dorsal fins. Because his body is so thin and light-reflective, he goes unnoticed until he shoots out his large, protruding mouth and catches the unsuspecting fish.
The origin of the John Dory's name is a subject of debate. Some believe it derives from the French jaune d'oree ("with a yellow edge"), in reference to the fish's coloring. The function of the dark spot on the dory's side is also unknown, though some local legends claim it is the thumbprint of Saint Peter, left when he held one to take a coin from its mouth. Nicole Arigo was the copyeditor and production editor for Java 2D Graphics. Sarah Jane Shangraw was the proofreader. Maureen Dempsey, Melanie Wang, and Sheryl Avruch provided quality control reviews. Nancy Crumpton wrote the index.
The cover was designed by Emma Colby using a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. The color insert was designed by Hanna Dyer. The inside text layout was designed by Nancy Priest.
Text was produced in FrameMaker 5.5 using a template implemented by Mike Sierra. The heading font is Bodoni BT; the text font is New Baskerville. The illustrations that appear in the book were created in Macromedia Freehand 8 and Adobe Photoshop 5 by Robert Romano. This colophon was written by Sada Preisch.
