protected static class AbstractGuiDriver.TextMetrics
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
height
The text's height.
|
private int |
width
The text's width.
|
private int[] |
widths
The widths for this text, for each substring starting from index 0 and ending on
indices 1 to text's length - 1.
|
Constructor and Description |
---|
TextMetrics(int width,
int height)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getWidths()
Get the intermediate widths.
|
void |
setWidths(int[] widths)
Set the intermediate widths.
|
private final int width
private final int height
private int[] widths