Class |
Description |
Font
(java.awt) |
Represents an instance of a font face from
the collection of font faces available on the host system. Supports
the specification of detailed font information and provides access
to information about the font and its glyphs. |
FontRenderContext |
Encapsulates the information necessary to
correctly measure text. |
GlyphJustificationInfo |
Represents information about the justification
properties of a glyph, such as weight, priority, absorb, and
limit. |
GlyphMetrics |
Provides metrics for a single glyph. |
GlyphVector |
A collection of glyphs and their positions. |
GraphicAttribute |
Base class for a TextLayout
attribute that specifies a graphic to be embedded within text.
Implemented by ShapeGraphicAttribute and ImageGraphicAttribute ,
which enable Shapes and Images to be
embedded in a TextLayout . Can be subclassed to implement
custom character replacement graphics. |
ImageGraphicAttribute |
Extends: GraphicAttribute
A GraphicsAttribute used to draw Images
within a TextLayout . |
LineBreakMeasurer |
Breaks a block of text that spans multiple
lines into TextLayout objects that fit within a
specified line length. |
LineMetrics |
Provides access to the font metrics needed
to lay out characters along a line and to lay out a set of lines.
These metrics include ascent, descent, leading, height, and baseline
information. |
ShapeGraphicAttribute |
Extends: GraphicAttribute
A GraphicsAttribute used to draw Shapes
within a TextLayout . |
TextAttribute |
Defines attribute keys and values used for
text rendering. |
TextHitInfo |
Represents hit test information for characters
in a TextLayout . |
TextLayout |
Implements: Cloneable
Provides an immutable graphical representation of styled character
data, including bidirectional text. |