Package | Description |
---|---|
com.badlogic.gdx.graphics.g2d | |
com.badlogic.gdx.scenes.scene2d.ui |
Modifier and Type | Method and Description |
---|---|
BitmapFont.TextBounds |
BitmapFontCache.addMultiLineText(CharSequence str,
float x,
float y)
Adds glyphs for the specified text, which may contain newlines (\n).
|
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.addText(CharSequence str,
float x,
float y)
Adds glyphs for the specified text.
|
BitmapFont.TextBounds |
BitmapFontCache.addText(CharSequence str,
float x,
float y,
int start,
int end)
Adds glyphs for the the specified text.
|
BitmapFont.TextBounds |
BitmapFontCache.addWrappedText(CharSequence str,
float x,
float y,
float wrapWidth)
Adds glyphs for the specified text, which may contain newlines (\n) and is automatically wrapped within the specified width.
|
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.draw(Batch batch,
CharSequence str,
float x,
float y)
Draws a string at the specified position.
|
BitmapFont.TextBounds |
BitmapFont.draw(Batch batch,
CharSequence str,
float x,
float y,
int start,
int end)
Draws a string at the specified position.
|
BitmapFont.TextBounds |
BitmapFont.drawMultiLine(Batch batch,
CharSequence str,
float x,
float y)
Draws a string, which may contain newlines (\n), at the specified position.
|
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)
Draws a string, which may contain newlines (\n), with 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.getBounds()
Returns the size of the cached string.
|
BitmapFont.TextBounds |
BitmapFont.getBounds(CharSequence str)
Returns the bounds of the specified text.
|
BitmapFont.TextBounds |
BitmapFont.getBounds(CharSequence str,
BitmapFont.TextBounds textBounds)
Returns the bounds of the specified text.
|
BitmapFont.TextBounds |
BitmapFont.getBounds(CharSequence str,
int start,
int end)
Returns the bounds of the specified text.
|
BitmapFont.TextBounds |
BitmapFont.getBounds(CharSequence str,
int start,
int end,
BitmapFont.TextBounds textBounds)
Returns the size of the specified string.
|
BitmapFont.TextBounds |
BitmapFont.getMultiLineBounds(CharSequence str)
Returns the bounds of the specified text, which may contain newlines.
|
BitmapFont.TextBounds |
BitmapFont.getMultiLineBounds(CharSequence str,
BitmapFont.TextBounds textBounds)
Returns the bounds of the specified text, which may contain newlines.
|
BitmapFont.TextBounds |
BitmapFont.getWrappedBounds(CharSequence str,
float wrapWidth)
Returns the bounds of the specified text, which may contain newlines and is wrapped within the specified width.
|
BitmapFont.TextBounds |
BitmapFont.getWrappedBounds(CharSequence str,
float wrapWidth,
BitmapFont.TextBounds textBounds)
Returns the bounds of the specified text, which may contain newlines and is wrapped within the specified width.
|
BitmapFont.TextBounds |
BitmapFontCache.setMultiLineText(CharSequence str,
float x,
float y)
Clears any cached glyphs and adds glyphs for the specified text, which may contain newlines (\n).
|
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.setText(CharSequence str,
float x,
float y)
Clears any cached glyphs and adds glyphs for the specified text.
|
BitmapFont.TextBounds |
BitmapFontCache.setText(CharSequence str,
float x,
float y,
int start,
int end)
Clears any cached glyphs and adds glyphs for the specified text.
|
BitmapFont.TextBounds |
BitmapFontCache.setWrappedText(CharSequence str,
float x,
float y,
float wrapWidth)
Clears any cached glyphs and adds glyphs for the specified text, which may contain newlines (\n) and is automatically
wrapped within the specified width.
|
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.
|
Modifier and Type | Method and Description |
---|---|
BitmapFont.TextBounds |
BitmapFont.getBounds(CharSequence str,
BitmapFont.TextBounds textBounds)
Returns the bounds of the specified text.
|
BitmapFont.TextBounds |
BitmapFont.getBounds(CharSequence str,
int start,
int end,
BitmapFont.TextBounds textBounds)
Returns the size of the specified string.
|
BitmapFont.TextBounds |
BitmapFont.getMultiLineBounds(CharSequence str,
BitmapFont.TextBounds textBounds)
Returns the bounds of the specified text, which may contain newlines.
|
BitmapFont.TextBounds |
BitmapFont.getWrappedBounds(CharSequence str,
float wrapWidth,
BitmapFont.TextBounds textBounds)
Returns the bounds of the specified text, which may contain newlines and is wrapped within the specified width.
|
void |
BitmapFont.TextBounds.set(BitmapFont.TextBounds bounds) |
Constructor and Description |
---|
BitmapFont.TextBounds(BitmapFont.TextBounds bounds) |
Modifier and Type | Method and Description |
---|---|
BitmapFont.TextBounds |
Label.getTextBounds() |
Copyright © 2014. All Rights Reserved.