Skip to Main Content
Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization
book

Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

by Alejandro Terrazas, John Ostuni, Michael Barlow
November 2002
Intermediate to advanced content levelIntermediate to advanced
848 pages
19h 59m
English
Sams
Content preview from Java™ Media APIs: Cross-Platform Imaging, Media, and Visualization

Text

One of the keys to understanding Java 2D text rendering is to realize that in most ways text can be treated as a shape. As such, most of the methods used on shape primitives can be used on text primitives. However, some special properties of graphics-based text should be considered.

Before diving into these special properties, it is necessary to consider some terminology. The different terms used to describe text, layout, and style largely reflect the different ways primitives are grouped to lay out text.

The overall goal of text layout is to artistically represent symbols (known as characters) that have meaning in a particular language. Each character is represented by a set of shape primitives called glyphs. Technically, glyphs are made ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
JavaFX 9 by Example

JavaFX 9 by Example

Carl Dea, Gerrit Grunwald, José Pereda, Sean Phillips, Mark Heckler

Publisher Resources

ISBN: 0672320940Purchase book