|
libcats.org
Java 2D GraphicsJonathan KnudsenIn computing, Java 2D is an API for drawing two-dimensional graphics using the Java programming language. Every Java 2D drawing operation can ultimately be treated as filling a shape using a paint and compositing the result onto the screen.
This book, although seven years old, is the best in print on learning the basics of Java 2D. Several other reviewers have said that the Java docs for the API from Sun are just as good, but I disagree. This book does a good job of taking a complex API and laying out what it takes to produce graphics using it. It starts out explaining the architecture of the Java 2D API, and includes a very long "Hello Java 2D" example showcasing what the API can do. The author admits at the time it is presented that it is likely the reader will not understand the code until the book has been read. Next, the author introduces the drawing of shapes, and then adds painting, stroking, transforming, compositing, and clipping to the equation, one by one, while explaining the nuances of each feature being added. Next, the author goes into adding text to your figures and also explains how to do simple image processing with the Java 2D API, even explaining how to "roll your own" image transform operations. The book concludes with a discussion of printing, animation, and measuring performance with Java 2D. The author includes a flexible framework for performing animations using Java 2D. There is example code throughout the book that can be downloaded from the publisher's website. If you are looking for a book of image processing tricks and recipes in Java, this is not the book that you want. In that case you might want to read Hardy's excellent but out-of-print work, "Java 2D API Graphics", after you read this book. However, if you want a good foundation in programming with the Java 2D API and understanding its architecture, this is a very good source. I highly recommend it. EPUB | FB2 | MOBI | TXT | RTF
* Конвертация файла может нарушить форматирование оригинала. По-возможности скачивайте файл в оригинальном формате.
Популярные книги за неделю:
![]() Противостояние форматов DVD-R-RW и DVD+RWАвтор:Категория: Офисные программы бизнес-приложения
Размер книги: 56 Kb
![]() Тестирование Дот Ком, или Пособие по жестокому обращению с багами в интернет-стартапахАвтор: Роман Савин
Размер книги: 5.26 Mb
![]() Царство китайского языка - веселый путь овладения китайским языком. Учебник 2А и 2Б + аудиокурсАвтор: Liu Fuhua, Автор: Wang Wei, Автор: Zhou Ruian, Автор: Li Dongmei
Размер книги: 28.47 Mb
![]() Learning Curves: Body Image and Female Sexuality in Young Adult Literature (Scarecrow Studies in Young Adult Literature)Автор: Beth Younger
Размер книги: 5.55 Mb
Только что пользователи скачали эти книги:
![]() Faux Paw's Adventures in the Internet: Keeping Children Safe OnlineАвтор: Jacalyn Leavitt, Автор: Sally Linford, Автор: J. Chad Erekson, Автор: First Lady Laura Bush
Размер книги: 4.65 Mb
![]() Java for Bioinformatics and Biomedical ApplicationsАвтор: Harshawardhan Bal, Автор: Johnny Hujol
Размер книги: 16.49 Mb
![]() Electric Power System Applications of Optimization (Power Engineering (Willis))Автор: James A. Momoh
Размер книги: 23.40 Mb
![]() The Compass of Terrestrial Directions, Vol.1: The Scavenger Lands (Exalted RPG)Автор: Kraig Blackwelder, Автор: Genevieve Cogman, Автор: Daniel Dover, Автор: Michael Kessler
Размер книги: 12.52 Mb
|
|