| Modifier and Type | Method and Description |
|---|---|
static TextBlock.Align |
TextBlock.Align.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextBlock.Align[] |
TextBlock.Align.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextBlock.fill(Canvas canvas,
TextBlock.Align align,
float x,
float y)
Fills
lines into canvas at the specified coordinates, using the specified
alignment. |
void |
TextBlock.stroke(Canvas canvas,
TextBlock.Align align,
float x,
float y)
Strokes
lines into canvas at the specified coordinates, using the specified
alignment. |
Canvas |
TextBlock.toCanvas(Graphics gfx,
TextBlock.Align align,
int fillColor)
Creates a canvas image large enough to accommodate this text block and renders the lines into
it.
|
Copyright © 2018. All Rights Reserved.