Provides classes and interface relating to fonts.
|Interface ||Description |
|MultipleMaster || |
MultipleMaster interface represents Type 1 Multiple Master fonts.
|OpenType || |
OpenType interface represents OpenType and TrueType fonts.
|Class ||Description |
|FontRenderContext || |
FontRenderContext class is a container for the information needed to correctly measure text.
|GlyphJustificationInfo || |
GlyphJustificationInfo class represents information about the justification properties of a glyph.
|GlyphMetrics || |
GlyphMetrics class represents information for a single glyph.
|GlyphVector || |
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 || |
This class is used with the CHAR_REPLACEMENT attribute.
|ImageGraphicAttribute || |
ImageGraphicAttribute class is an implementation of
GraphicAttribute which draws images in a
|LayoutPath || |
LayoutPath provides a mapping between locations relative to the baseline and points in user space.
|LineBreakMeasurer || |
LineBreakMeasurer class allows styled text to be broken into lines (or segments) that fit within a particular visual advance.
|LineMetrics || |
LineMetrics class allows access to the metrics needed to layout characters along a line and to layout of a set of lines.
|NumericShaper || |
NumericShaper class is used to convert Latin-1 (European) digits to other Unicode decimal digits.
|ShapeGraphicAttribute || |
ShapeGraphicAttribute class is an implementation of
GraphicAttribute that draws shapes in a
|TextAttribute || |
TextAttribute class defines attribute keys and attribute values used for text rendering.
|TextHitInfo || |
TextHitInfo class represents a character position in a text model, and a bias, or "side," of the character.
|TextLayout || |
TextLayout is an immutable graphical representation of styled character data.
|TextLayout.CaretPolicy || |
Defines a policy for determining the strong caret location.
|TextMeasurer || |
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 || |
TransformAttribute class provides an immutable wrapper for a transform so that it is safe to use as an attribute.
|Enum ||Description |
|NumericShaper.Range || |
NumericShaper.Range represents a Unicode range of a script having its own decimal digits.
Package java.awt.font Description
Provides classes and interface relating to fonts. It contains support for representing Type 1, Type 1 Multiple Master fonts, OpenType fonts, and TrueType fonts.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.