|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BitmapFont.HAlignment | |
---|---|
com.badlogic.gdx.graphics.g2d |
Uses of BitmapFont.HAlignment in com.badlogic.gdx.graphics.g2d |
---|
Methods in com.badlogic.gdx.graphics.g2d that return BitmapFont.HAlignment | |
---|---|
static BitmapFont.HAlignment |
BitmapFont.HAlignment.valueOf(java.lang.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. |
Methods in com.badlogic.gdx.graphics.g2d with parameters of type BitmapFont.HAlignment | |
---|---|
BitmapFont.TextBounds |
BitmapFontCache.addMultiLineText(java.lang.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(java.lang.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(SpriteBatch spriteBatch,
java.lang.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(SpriteBatch spriteBatch,
java.lang.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(java.lang.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(java.lang.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. |
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |