Package | Description |
---|---|
com.badlogic.gdx.graphics.g2d |
Modifier and Type | Method and Description |
---|---|
static BitmapFont.HAlignment |
BitmapFont.HAlignment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitmapFont.HAlignment[] |
BitmapFont.HAlignment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
BitmapFont.TextBounds |
BitmapFontCache.addMultiLineText(CharSequence str,
float x,
float y,
float alignmentWidth,
BitmapFont.HAlignment alignment)
Adds glyphs for the specified text, which may contain newlines (\n).
|
BitmapFont.TextBounds |
BitmapFontCache.addWrappedText(CharSequence str,
float x,
float y,
float wrapWidth,
BitmapFont.HAlignment alignment)
Adds glyphs for the specified text, which may contain newlines (\n) and is automatically wrapped within the specified width.
|
BitmapFont.TextBounds |
BitmapFont.drawMultiLine(Batch batch,
CharSequence str,
float x,
float y,
float alignmentWidth,
BitmapFont.HAlignment alignment)
Draws a string, which may contain newlines (\n), at the specified position.
|
BitmapFont.TextBounds |
BitmapFont.drawWrapped(Batch batch,
CharSequence str,
float x,
float y,
float wrapWidth,
BitmapFont.HAlignment alignment)
Draws a string, which may contain newlines (\n), with the specified position.
|
BitmapFont.TextBounds |
BitmapFontCache.setMultiLineText(CharSequence str,
float x,
float y,
float alignmentWidth,
BitmapFont.HAlignment alignment)
Clears any cached glyphs and adds glyphs for the specified text, which may contain newlines (\n).
|
BitmapFont.TextBounds |
BitmapFontCache.setWrappedText(CharSequence str,
float x,
float y,
float wrapWidth,
BitmapFont.HAlignment alignment)
Clears any cached glyphs and adds glyphs for the specified text, which may contain newlines (\n) and is automatically
wrapped within the specified width.
|
Copyright © 2014. All Rights Reserved.