| Modifier and Type | Field and Description |
|---|---|
TextLayout[] |
TextBlock.lines
The individual lines of text in this block.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
abstract Canvas |
Canvas.fillText(TextLayout text,
float x,
float y)
Fills the text at the specified location.
|
static Rectangle |
TextBlock.getBounds(TextLayout[] lines,
Rectangle into)
Computes the bounds of a block of text.
|
abstract Canvas |
Canvas.strokeText(TextLayout text,
float x,
float y)
Strokes the text at the specified location.
|
| Constructor and Description |
|---|
TextBlock(TextLayout[] lines)
Creates a text block with the supplied
lines. |
Copyright © 2018. All Rights Reserved.