|
|
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
* Конвертация файла может нарушить форматирование оригинала. По-возможности скачивайте файл в оригинальном формате.
Популярные книги за неделю:
Проектирование и строительство. Дом, квартира, садАвтор: Петер Нойферт, Автор: Людвиг Нефф
Размер книги: 20.83 Mb
Nucleation (Butterworth 2000)Автор: Dimo KashchievКатегория: Phase transitions
Размер книги: 4.70 Mb
Система упражнений по развитию способностей человека (Практическое пособие)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 818 Kb
Сотворение мира (3-х томник)Автор: Петров Аркадий НаумовичКатегория: Путь к себе
Размер книги: 817 Kb
Радиолюбительские схемы на ИС типа 555Автор: Трейстер Р.Категория: Электротехника и связь
Размер книги: 13.64 Mb
Только что пользователи скачали эти книги:
Oligomers - Polymer Composites -Molecular ImprintingАвтор: B. Boutevin, Автор: C. Boyer, Автор: Ildiko Csetneki, Автор: G. David, Автор: Joseph S. Ferguson, Автор: Genoveva Filipcsei, Автор: Bing Gong, Автор: Songjun Li, Автор: Wuke Li, Автор: Adam R. Sanford, Автор: Andras Szilagyi, Автор: Guangfu Yang, Автор: Miklos Zrinyi
Размер книги: 7.25 Mb
In Defense of Good TeachingАвтор: Kenneth S. GoodmanКатегория: Психология, Педагогика
Размер книги: 871 Kb
The Enclave Economy: Foreign Investment and Sustainable Development in Mexico's Silicon Valley (Urban and Industrial Environments)Автор: Kevin P. Gallagher, Автор: Lyuba ZarskyКатегория: Экономика
Размер книги: 2.69 Mb
Luftwaffe Airborne and Field UnitsАвтор: Martin WindrowКатегория: КНИГИ ВОЕННАЯ ИСТОРИЯ
Размер книги: 9.28 Mb
Coping with Vision Loss: Understanding the Psychological, Social, and Spiritual EffectsАвтор: Cheri Colby Langdell, Автор: Tim Langdell
Размер книги: 684 Kb
|
|
|