Java™ 2D Graphics
Creating High Quality Graphics and Text
Publisher: O'Reilly, 1999 , 339 pages
ISBN: 1-56592-484-3
Synopsis:
- Toggle Synopsis
-
The 2D API is a set of classes in the core Java 2 platform for drawing and manipulating shapes, text, and images. Much more than a quick fix for the inadequacies for JDK 1.0 and JDK 1.1 graphics, the 2D API is an elegant, highly capable package for developing professional-quality graphics. Created in conjunction with Sun's industry partners, Adobe and Kodak, the 2D API contains advanced features in an easy-to-use, extensible architecture.
Java 2D Graphics describe the 2D API in an accessible, friendly style. If you're new to computer graphics, the concepts are clearly explained. If you already have a black belt in graphics, you can start applying your knowledge with the 2D API right away. This book gets you up and running with numerous code examples and useful illustrations. The chapters are arranged so you can start applying concepts right away, while further reading yields the gritty details.
Topics include:
- Geometric transformations
- Compositing
- Clipping
- Antialiasing
- Geometric shapes
- Quadratic and cubic curves
- Constructive area geometry
- Dashed lines
- Line end and line jon styles
- Color gradient fills
- Texture fills
- Fonts
- Character shapes
- Text layout, carets, and highlighting
- Multilingual text
- Color spaces
- Color profiles
- Image handling
- Reading and writing JPEG images
- Image processing
- Printing
- Animation
- Performance
Table of Contents:
- Toggle Table of Contents
-
- Introduction
- What Is Java 2D?
- What Can Java 2D Do?
- Relatives
- Genesis
- Where Do I Get a Graphics2D?
- File Formats
- Hello, 2D!
- The Big Picture
- Graphics2D
- The Rendering Pipeline
- All About Alpha
- Compositing
- Coordinate Space
- Geometry
- Points
- Shapes and Paths
- Lines and Curves
- Rectangles
- Ellipses and Arcs
- Constructive Area Geometry
- Painting and Stroking
- Painting
- Stroking
- Overlap
- Rendering
- Transforming
- Compositing
- Clipping
- Rendering Hints
- Text
- Overview
- Drawing Text
- Fonts
- Font Metrics
- Advanced Text Layout
- Using the TextLayout Class
- Getting Close to the Metal
- Color
- If You're Not Too Picky
- Physics and Physiology
- Color Spaces
- Profiles
- Putting It All Together
- Images
- Overview
- Where Do Images Come From?
- Displaying Images
- Drawing on Images
- Double Buffering
- A Useful Class
- Image Processing
- The New Model
- An Appetizer
- Predefined Operations
- Roll Your Own
- Image Guts
- BufferedImage
- Color Models
- Rasters
- Sample Models
- Data Buffers
- A PNG Decoder
- Devices
- The Local Graphics Environment
- The GrahicsDevice Class
- Device Configurations
- Printing
- How Printing Works
- Controlling Printing
- Power Printing
- Animation and Performance
- It's tougher Than You Might Think
- See for Yourself
- Memory
- Optimizations
Reviews:
Java 2D Graphics
Rating: ******** (Very good)
An outstanding introduction to graphics!
And some examples in Java is thrown as examples. In fact, if the focus wasn't so much on Java, this book would have ranked as Excellent, as I have never found an easier graphics introductory text!
Recommend.
Exploring Java