Module java.desktop
Package 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
-
Interface Summary Interface Description MultipleMaster TheMultipleMasterinterface represents Type 1 Multiple Master fonts.OpenType TheOpenTypeinterface represents OpenType and TrueType fonts. -
Class Summary Class Description FontRenderContext TheFontRenderContextclass is a container for the information needed to correctly measure text.GlyphJustificationInfo TheGlyphJustificationInfoclass represents information about the justification properties of a glyph.GlyphMetrics TheGlyphMetricsclass represents information for a single glyph.GlyphVector AGlyphVectorobject 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 theGlyphVectoris ultimately displayed.GraphicAttribute This class is used with the CHAR_REPLACEMENT attribute.ImageGraphicAttribute TheImageGraphicAttributeclass is an implementation ofGraphicAttributewhich draws images in aTextLayout.LayoutPath LayoutPath provides a mapping between locations relative to the baseline and points in user space.LineBreakMeasurer TheLineBreakMeasurerclass allows styled text to be broken into lines (or segments) that fit within a particular visual advance.LineMetrics TheLineMetricsclass allows access to the metrics needed to layout characters along a line and to layout of a set of lines.NumericShaper TheNumericShaperclass is used to convert Latin-1 (European) digits to other Unicode decimal digits.ShapeGraphicAttribute TheShapeGraphicAttributeclass is an implementation ofGraphicAttributethat draws shapes in aTextLayout.TextAttribute TheTextAttributeclass defines attribute keys and attribute values used for text rendering.TextHitInfo TheTextHitInfoclass represents a character position in a text model, and a bias, or "side," of the character.TextLayout TextLayoutis an immutable graphical representation of styled character data.TextLayout.CaretPolicy Defines a policy for determining the strong caret location.TextMeasurer TheTextMeasurerclass provides the primitive operations needed for line break: measuring up to a given advance, determining the advance of a range of characters, and generating aTextLayoutfor a range of characters.TransformAttribute TheTransformAttributeclass provides an immutable wrapper for a transform so that it is safe to use as an attribute. -
Enum Summary Enum Description NumericShaper.Range ANumericShaper.Rangerepresents a Unicode range of a script having its own decimal digits.