| Modifier and Type | Field and Description |
|---|---|
TextFormat |
TextLayout.format
The
TextFormat used to lay out this text. |
| Modifier and Type | Method and Description |
|---|---|
TextFormat |
TextFormat.withAntialias(boolean antialias)
Returns a clone of this text format with
antialias configured as specified. |
TextFormat |
TextFormat.withFont(Font font)
Returns a clone of this text format with the font configured as specified.
|
TextFormat |
TextFormat.withFont(java.lang.String name,
float size)
Returns a clone of this text format with the font configured as specified.
|
TextFormat |
TextFormat.withFont(java.lang.String name,
Font.Style style,
float size)
Returns a clone of this text format with the font configured as specified.
|
| Modifier and Type | Method and Description |
|---|---|
abstract TextLayout |
Graphics.layoutText(java.lang.String text,
TextFormat format)
Lays out a single line of text using the specified format.
|
abstract TextLayout[] |
Graphics.layoutText(java.lang.String text,
TextFormat format,
TextWrap wrap)
Lays out multiple lines of text using the specified format and wrap configuration.
|
Copyright © 2018. All Rights Reserved.