Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.event |
Provides interfaces and classes for dealing with different
types of events fired by AWT components.
|
java.awt.font |
Provides classes and interface relating to fonts.
|
java.awt.im |
Provides classes and interfaces for the input method framework.
|
java.awt.im.spi |
Provides interfaces that enable the development of input methods
that can be used with any Java runtime environment.
|
Class and Description |
---|
FontRenderContext
The
FontRenderContext class is a container for the
information needed to correctly measure text. |
GlyphVector
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. |
LineMetrics
The
LineMetrics class allows access to the
metrics needed to layout characters along a line
and to layout of a set of lines. |
TextAttribute
The
TextAttribute class defines attribute keys and
attribute values used for text rendering. |
Class and Description |
---|
TextHitInfo
The
TextHitInfo class represents a character position in a
text model, and a bias, or "side," of the character. |
Class and Description |
---|
FontRenderContext
The
FontRenderContext class is a container for the
information needed to correctly measure text. |
GlyphJustificationInfo
The
GlyphJustificationInfo class represents information
about the justification properties of a glyph. |
GlyphMetrics
The
GlyphMetrics class represents information for a
single glyph. |
GlyphVector
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
This class is used with the CHAR_REPLACEMENT attribute.
|
ImageGraphicAttribute
The
ImageGraphicAttribute class is an implementation of
GraphicAttribute which draws images in
a TextLayout . |
LayoutPath
LayoutPath provides a mapping between locations relative to the
baseline and points in user space.
|
NumericShaper
The
NumericShaper class is used to convert Latin-1 (European)
digits to other Unicode decimal digits. |
NumericShaper.Range
A
NumericShaper.Range represents a Unicode range of a
script having its own decimal digits. |
ShapeGraphicAttribute
The
ShapeGraphicAttribute class is an implementation of
GraphicAttribute that draws shapes in a TextLayout . |
TextAttribute
The
TextAttribute class defines attribute keys and
attribute values used for text rendering. |
TextHitInfo
The
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.
|
TransformAttribute
The
TransformAttribute class provides an immutable
wrapper for a transform so that it is safe to use as an attribute. |
Class and Description |
---|
TextAttribute
The
TextAttribute class defines attribute keys and
attribute values used for text rendering. |
TextHitInfo
The
TextHitInfo class represents a character position in a
text model, and a bias, or "side," of the character. |
Class and Description |
---|
TextHitInfo
The
TextHitInfo class represents a character position in a
text model, and a bias, or "side," of the character. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.