Have one to sell? Sell yours here
Java 2D Graphics (Java Series)
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Java 2D Graphics (Java Series) [Paperback]

Jonathan Knudsen
3.0 out of 5 stars  See all reviews (4 customer reviews)

Available from these sellers.


Amazon.co.uk Trade-In Store
Did you know you can trade in your old books for an Amazon.co.uk Gift Card to spend on the things you want? Visit the Amazon.co.uk Trade-In Store for more details.


Product details

  • Paperback: 368 pages
  • Publisher: O'Reilly Media; 1 edition (12 May 1999)
  • Language English
  • ISBN-10: 1565924843
  • ISBN-13: 978-1565924840
  • Product Dimensions: 23.2 x 17.7 x 1.9 cm
  • Average Customer Review: 3.0 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 478,277 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Jonathan Knudsen
Discover books, learn about writers, and more.

Visit Amazon's Jonathan Knudsen Page

Product Description

Amazon.co.uk Review

Java 2D Graphics is a remarkably accessible guide to graphics programming using Sun's new Java 2D API. Besides the basic navigation of the API, this title delivers plenty of useful advanced material for extending Java 2D's capabilities.

After a simple introductory example, the book focuses on the graphics architecture of Java 2D and its rendering pipeline. Support classes in Java 2D receive ample coverage as well, with sections outlining topics such as storing points, shapes and paths. For basic graphics output, the book demonstrates simple tasks--the process of drawing common shapes such as lines, ellipses, and rectangles--as well as the complex as seen when modifying graphics output through translating, rescaling, rotating or shearing.

Text output in Java 2D receives its due as well, since the book acknowledges Java 2D's advanced font capabilities that allow it to handle right-to-left languages such as Arabic. Further sections delve into Java 2D colour models (including support for the CIEXYZ and sRGB colour standards). With regard to the display of images, the book covers the built-in support for image filtering in Java 2D which allows programmers to build toggles and fades into their code that alter brightness, contrast, blurring and sharpening.

For advanced readers, Java 2D Graphics presents techniques like double buffering and matrix operations for custom image effects. Another expert section, on the internal storage classes for image data, will be useful for those who want to write image decoders. (A sample PNG decoder demonstrates the basics here.) Final sections look at printing, animation and performance issues.

In all, Java 2D Graphics provides a fine introduction to the latest in 2-D graphics programming from Sun, in a title that will be useful to both beginning and advanced Java developers. --Richard Dragan, Amazon.com

Product 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

Tag this product

 (What's this?)
Think of a tag as a keyword or label you consider is strongly related to this product.
Tags will help all customers organise and find favourite items.
Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more


 

Customer Reviews

4 Reviews
5 star:
 (1)
4 star:    (0)
3 star:
 (2)
2 star:    (0)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.0 out of 5 stars (4 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

17 of 17 people found the following review helpful:
3.0 out of 5 stars Rip out half of it and it ain't bad., 22 Oct 2000
This review is from: Java 2D Graphics (Java Series) (Paperback)
the book has all the needed information but it is compiled into an annoying format. when introducing new concepts a large list of all the related methods are printed for no reason - in the geometry section (early on) there is a long list of methods for paths and shapes, descibing all the shapes that can be drawn, tirelessly listing what must be EVERY method associated with them. all this time the Graphics2d.draw() method is not explained at all and so when it appears in the first example still with no explanation things get hairy. to give you an idea bezier curves are covered about 4 pages before the line method!?!

the book does get a lot better tho. i decided to just go straight into the section on images (over half the way through the book) so i could see how i could load an image and display it. from here there is a lot of useful information and a great chapter on the structure of the graphics api and a nice section on animation which can be hard to find in other books.

i think the numerous method listings is a poor attempt at making the book thicker. the java reference docs already have all this information and that is what they are for. i wouldn't mind but the methods are printed in such a way that the book can't be used as a reference manual.

a real shame, cos all my other books from oreilly have been excellent!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


2 of 2 people found the following review helpful:
1.0 out of 5 stars A horrible horrible book, 18 Aug 2006
By 
Mr. R. C. Tomlinson "Ryan, Durham" (Ryan, Durham) - See all my reviews
(REAL NAME)   
This review is from: Java 2D Graphics (Java Series) (Paperback)
This has to be the worst of all O'reilly books that I have read. Its structure is poor and illogical. It jumps in way to quickly with large chunks of code. What makes this worse is that there are not always screen shots of the results of the code.

I would really discourage anyone from buying this book, most of the information is freely available online, and whats more is that its often more concise.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3.0 out of 5 stars getting too old now, 10 Oct 2011
By 
Mr. J. A. Smith "zz.james" (London) - See all my reviews
(REAL NAME)   
This review is from: Java 2D Graphics (Java Series) (Paperback)
many of the examples in the image section use a jpeg library from sun which it seems is almost completely impossible to get hold of.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
Would you like to see more reviews about this item?
 Go to Amazon.com to see all 11 reviews  4.3 out of 5 stars 
Were these reviews helpful?   Let us know
 
 
Most Recent Customer Reviews


Only search this product's reviews



Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 

Search Customer Discussions
Search all Amazon discussions
   


Listmania!

Create a Listmania! list

Look for similar items by category


Look for similar items by subject


Feedback