java.awt.font |
Provides classes and interface relating to fonts. It
contains support for representing Type 1, Type 1 Multiple Master
fonts, OpenType fonts, and TrueType fonts.
@since 1.2
|
Java Source File Name | Type | Comment |
CharArrayIterator.java | Class | |
FontRenderContext.java | Class | The FontRenderContext class is a container for the
information needed to correctly measure text. |
GlyphJustificationInfo.java | Class | The GlyphJustificationInfo class represents information
about the justification properties of a glyph. |
GlyphMetrics.java | Class | The GlyphMetrics class represents infomation for a
single glyph. |
GlyphVector.java | Class | A GlyphVector object is a collection of glyphs
containing geometric information for the placement of each glyph
in a transformed coordinate space which corresponds to the
device on which the GlyphVector is ultimately
displayed. |
GraphicAttribute.java | Class | This class is used with the CHAR_REPLACEMENT attribute.
The GraphicAttribute class represents a graphic embedded
in text. |
ImageGraphicAttribute.java | Class | The ImageGraphicAttribute class is an implementation of
GraphicAttribute which draws images in
a
TextLayout . |
LayoutPath.java | Class | LayoutPath provides a mapping between locations relative to the
baseline and points in user space. |
LineBreakMeasurer.java | Class | The LineBreakMeasurer class allows styled text to be
broken into lines (or segments) that fit within a particular visual
advance. |
LineMetrics.java | Class | The LineMetrics class allows access to the
metrics needed to layout characters along a line
and to layout of a set of lines. |
MultipleMaster.java | Interface | The MultipleMaster interface represents Type 1
Multiple Master fonts. |
NumericShaper.java | Class | The NumericShaper class is used to convert Latin-1 (European)
digits to other Unicode decimal digits. |
OpenType.java | Interface | The OpenType interface represents OpenType and
TrueType fonts. |
ShapeGraphicAttribute.java | Class | The ShapeGraphicAttribute class is an implementation of
GraphicAttribute that draws shapes in a
TextLayout . |
StyledParagraph.java | Class | This class stores Font, GraphicAttribute, and Decoration intervals
on a paragraph of styled text. |
TextAttribute.java | Class | The TextAttribute class defines attribute keys and
attribute values used for text rendering. |
TextHitInfo.java | Class | The TextHitInfo class represents a character position in a
text model, and a bias, or "side," of the character. |
TextJustifier.java | Class | |
TextLayout.java | Class | TextLayout is an immutable graphical representation of styled
character data.
It provides the following capabilities:
- implicit bidirectional analysis and reordering,
- cursor positioning and movement, including split cursors for
mixed directional text,
- highlighting, including both logical and visual highlighting
for mixed directional text,
- multiple baselines (roman, hanging, and centered),
- hit testing,
- justification,
- default font substitution,
- metric information such as ascent, descent, and advance, and
- rendering
A TextLayout object can be rendered using
its draw method.
TextLayout can be constructed either directly or through
the use of a
LineBreakMeasurer . |
TextLine.java | Class | |
TextMeasurer.java | Class | The TextMeasurer class provides the primitive operations
needed for line break: measuring up to a given advance, determining the
advance of a range of characters, and generating a
TextLayout for a range of characters. |
TransformAttribute.java | Class | The TransformAttribute class provides an immutable
wrapper for a transform so that it is safe to use as an attribute. |