BUY THIS BOOK
This print book is out of stock, with no immediate plans to reprint.
Looking to
Reprint this content?
Java 2D Graphics
By Jonathan Knudsen
May 1999
Pages: 366
ISBN 10: 1-56592-484-3 |
ISBN 13: 9781565924840




(Average of 3 Customer Reviews)


Description
Java 2D Graphics describes the 2D API from top to bottom, demonstrating how to set line styles and pattern fills as well as more advanced techniques of image processing and font handling. You'll see how to create and manipulate the three types of graphics objects: shapes, text, and images. Other topics include image data storage, color management, font glyphs, and printing.
Full Description
One weakness of Java has been its graphics capabilities. Java 1.0 and 1.1 only included simple primitives for line drawing: lines could only be one pixel wide, they could only be solid, and there wasn't any good way to draw curves. Font management and color management were also weak. Java 2D (collectively called the "2D API") signals a major improvement in Java's graphics capabilities. It covers many of the classes in Java 1.2 that address graphics handling and improves on many weaknesses that were present in the previous versions of Java.
The 2D API allows you to produce high-quality, professional images on a screen or printer.
Java 2D Graphics describes the 2D API from top to bottom, demonstrating how to set line styles and pattern fills as well as more advanced techniques of image processing and font handling. You'll see how to create and manipulate the three types of graphics objects: shapes, text, and images. Other topics include image data storage, color management, font glyphs, and printing.
Java 2D Graphics assumes no prior knowledge of graphics. Chock full of detailed explanations and examples, this book provides beginning Java programmers with a solid foundation in 2D graphics and helps more advanced programmers create and use high-quality images in their applications.
Topics covered in the book include:
- The rendering pipeline
- Shapes and paths
- Geometry
- Painting with solid colors, gradients, and textures
- Stroking paths, including dashed lines
- Transformations: translation, rotation, shearing, and scaling
- Alpha compositing
- Clipping
- Rasterizing and antialiasing
- Fonts and text
- Font metrics
- Glyphs
- Colors and color spaces
- sRGB and CIEXYZ
- ICC color profiles
- Images, image color models, and image data
- Image processing
- Image data storage
- Graphics devices
- Printing
Featured customer reviews

Java 2D Graphics Review,
December 08 2003
Submitted by John
[
Respond |
View]
Good book, and was very relevant two years ago, but has lost its impact. With Java moving forward, this book really needs a new, updated edition that covers Swing components as well as other projects such as SVG/Batik.
Java 2D Graphics Review,
March 07 2001
Submitted by Harry
[
Respond |
View]
If one needs to understand text fairly well an approach to consider is reading books such as Java Swing, Swing, and the text and related parts of Java 2D Graphics so as to approach the topic from 2 opposite directions. I feel comfortable with that approach after not being able to get to sufficient depth with the former books (although what they present is also essential to know). Though providing depth, Java 2D Graphics makes the subject fairly simple and clear.
A newer addition that integrates Swing fully into the examples would be nice. This edition probably was written when both Swing and 2D Graphics were not yet completed as are most books on new computer subjects. That is understandable.
Java 2D Graphics Review,
January 14 2001
Submitted by tom
[
Respond |
View]
absolutely useless! far
too few examples and the examples are all too big. also there little discussion on what goes on in the java 2d api and too many function descriptions - THIS IS WHAT THE JAVA DOCS ARE FOR -.
Read all reviews
Java 2D Graphics Review,
March 25 1998
Submitted by Jody Garnett
[
Respond |
View]
Congradulations!
This book paid for itself during a quick browse at a bookstore.
Media reviews
3rd Runner up, Best Book, 2000 Java Developers Journal Readers' Choice Awards
"a pleasure to read and makes it easy to understand and use the many new features provided with the Java 2D API" --Arthur Gittleman, Computing Reviews July 1999
"
Java 2D Graphics is not one of O'Reilly's lengthier or more expensive books, but is an extremely useful one. Knudsen has admirably covered the salient points of the Java 2D API and provided sufficient examples to get one started. Writing a complex graphics program means understanding the fundamentals of what needs to be done and building capabilities into it as it gets more sophisticated. This book provides you with the basics necessary to include graphics display and manipulation in your Java applications." -- E. V. Bell, II, November 1999
Read all reviews