This package processes text and manages the typeface and font style using text tools.
| 接口 | 说明 |
|---|---|
| RichText.TouchEventListener | 已过时。
This change is effective since API version 8.
|
| 类 | 说明 |
|---|---|
| BidiAnalyzer |
Identifies the text direction based on the
BidiStrategy specified by the user. |
| BidiAnalyzer.BidiRun |
Stores the division of internal text directions of a section.
|
| CharInputFilter |
Implements a character filter, which supports filtering of plain text and
RichText. |
| DateFormat |
Provides a utility class to format the date text.
|
| Font |
Defines the font styles.
|
| Font.Builder |
Provides a builder to create a
Font instance. |
| FontFamily | |
| FontFamily.Builder |
Provides a builder to create a
FontFamily instance. |
| FontManager |
A class used to manage fonts in the system.
|
| InputFilter |
An abstract class that provides methods to filter the input text based on the specified criteria.
|
| InputFilter.Range |
Describes a text range where the index is greater than or equal to
inStart and less than inEnd,
as in other scenarios where text ranges are specified. |
| Layout | 已过时。
This change is effective since API version 8.
|
| LengthFilter |
Filters plain text or
RichText by length. |
| RawFont |
An abstraction of font files, used for creating a
FontFamily. |
| RawFont.Builder |
Provides a builder to create a
RawFont instance. |
| RichText |
Represents rich text in different formats.
|
| RichTextBuilder | 已过时。
This change is effective since API version 8.
|
| RichTextLayout | 已过时。
This change is effective since API version 8.
|
| SimpleTextLayout | 已过时。
This change is effective since API version 8.
|
| TextForm | 已过时。
This change is effective since API version 8.
|
| TextLayout |
A default implementation class for text layout, which supports both plain text and rich text.
|
| UpperCaseFilter |
Implements an uppercase character filter, which supports filtering of plain text and
RichText. |
| 枚举 | 说明 |
|---|---|
| BidiAnalyzer.BidiStrategy |
Enumerates the bidirectional text recognition strategies.
|
| TextLayout.CursorMoveDirection |
Enumerates the cursor movement directions.
|
| TextLayout.FontPaddingStrategy |
Enumerates the font padding strategies.
|
| TextLayout.HyphenationStrategy |
Enumerates the hyphenation strategies.
|
| TextLayout.JustifyStrategy |
Enumerates the text justification strategies.
|
| TextLayout.LineBreakStrategy |
Enumerates the line breaking strategies.
|