Modifier and Type | Method and Description |
---|---|
void |
BitmapFontCache.draw(SpriteBatch spriteBatch) |
void |
ParticleEffect.draw(SpriteBatch spriteBatch) |
void |
ParticleEmitter.draw(SpriteBatch spriteBatch) |
void |
Sprite.draw(SpriteBatch spriteBatch) |
BitmapFont.TextBounds |
BitmapFont.draw(SpriteBatch spriteBatch,
java.lang.CharSequence str,
float x,
float y)
Draws a string at the specified position.
|
BitmapFont.TextBounds |
BitmapFont.draw(SpriteBatch spriteBatch,
java.lang.CharSequence str,
float x,
float y,
int start,
int end)
Draws a string at the specified position.
|
void |
BitmapFontCache.draw(SpriteBatch spriteBatch,
float alphaModulation) |
void |
ParticleEffect.draw(SpriteBatch spriteBatch,
float delta) |
void |
ParticleEmitter.draw(SpriteBatch spriteBatch,
float delta)
Updates and draws the particles.
|
void |
Sprite.draw(SpriteBatch spriteBatch,
float alphaModulation) |
void |
NinePatch.draw(SpriteBatch batch,
float x,
float y,
float width,
float height) |
void |
BitmapFontCache.draw(SpriteBatch spriteBatch,
int start,
int end) |
BitmapFont.TextBounds |
BitmapFont.drawMultiLine(SpriteBatch spriteBatch,
java.lang.CharSequence str,
float x,
float y)
Draws a string, which may contain newlines (\n), at the specified position.
|
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)
Draws a string, which may contain newlines (\n), with 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.
|
Modifier and Type | Field and Description |
---|---|
protected SpriteBatch |
BatchTiledMapRenderer.spriteBatch |
Modifier and Type | Method and Description |
---|---|
SpriteBatch |
BatchTiledMapRenderer.getSpriteBatch() |
Constructor and Description |
---|
BatchTiledMapRenderer(TiledMap map,
float unitScale,
SpriteBatch spriteBatch) |
BatchTiledMapRenderer(TiledMap map,
SpriteBatch spriteBatch) |
HexagonalTiledMapRenderer(TiledMap map,
float unitScale,
SpriteBatch spriteBatch) |
HexagonalTiledMapRenderer(TiledMap map,
SpriteBatch spriteBatch) |
IsometricStaggeredTiledMapRenderer(TiledMap map,
float unitScale,
SpriteBatch spriteBatch) |
IsometricStaggeredTiledMapRenderer(TiledMap map,
SpriteBatch spriteBatch) |
IsometricTiledMapRenderer(TiledMap map,
float unitScale,
SpriteBatch spriteBatch) |
IsometricTiledMapRenderer(TiledMap map,
SpriteBatch spriteBatch) |
OrthogonalTiledMapRenderer(TiledMap map,
float unitScale,
SpriteBatch spriteBatch) |
OrthogonalTiledMapRenderer(TiledMap map,
SpriteBatch spriteBatch) |
Modifier and Type | Method and Description |
---|---|
SpriteBatch |
Stage.getSpriteBatch() |
Modifier and Type | Method and Description |
---|---|
protected void |
Group.applyTransform(SpriteBatch batch,
Matrix4 transform)
Set the SpriteBatch's transformation matrix, often with the result of
Group.computeTransform() . |
void |
Actor.draw(SpriteBatch batch,
float parentAlpha)
Draws the actor.
|
void |
Group.draw(SpriteBatch batch,
float parentAlpha)
Draws the group and its children.
|
protected void |
Group.drawChildren(SpriteBatch batch,
float parentAlpha)
Draws all children.
|
protected void |
Group.resetTransform(SpriteBatch batch)
Restores the SpriteBatch transform to what it was before
Group.applyTransform(SpriteBatch, Matrix4) . |
Constructor and Description |
---|
Stage(float width,
float height,
boolean keepAspectRatio,
SpriteBatch batch)
Creates a stage with the specified
viewport and SpriteBatch . |
Modifier and Type | Method and Description |
---|---|
void |
Button.draw(SpriteBatch batch,
float parentAlpha) |
void |
CheckBox.draw(SpriteBatch batch,
float parentAlpha) |
void |
Image.draw(SpriteBatch batch,
float parentAlpha) |
void |
ImageButton.draw(SpriteBatch batch,
float parentAlpha) |
void |
ImageTextButton.draw(SpriteBatch batch,
float parentAlpha) |
void |
Label.draw(SpriteBatch batch,
float parentAlpha) |
void |
List.draw(SpriteBatch batch,
float parentAlpha) |
void |
ScrollPane.draw(SpriteBatch batch,
float parentAlpha) |
void |
SelectBox.draw(SpriteBatch batch,
float parentAlpha) |
void |
Slider.draw(SpriteBatch batch,
float parentAlpha) |
void |
SplitPane.draw(SpriteBatch batch,
float parentAlpha) |
void |
Table.draw(SpriteBatch batch,
float parentAlpha) |
void |
TextButton.draw(SpriteBatch batch,
float parentAlpha) |
void |
TextField.draw(SpriteBatch batch,
float parentAlpha) |
void |
Touchpad.draw(SpriteBatch batch,
float parentAlpha) |
void |
Tree.draw(SpriteBatch batch,
float parentAlpha) |
void |
Widget.draw(SpriteBatch batch,
float parentAlpha)
If this method is overridden, the super method or
Widget.validate() should be called to ensure the widget is laid out. |
void |
WidgetGroup.draw(SpriteBatch batch,
float parentAlpha)
If this method is overridden, the super method or
WidgetGroup.validate() should be called to ensure the widget group is laid
out. |
void |
Window.draw(SpriteBatch batch,
float parentAlpha) |
protected void |
Button.drawBackground(SpriteBatch batch,
float parentAlpha) |
protected void |
Table.drawBackground(SpriteBatch batch,
float parentAlpha)
Called to draw the background, before clipping is applied (if enabled).
|
protected void |
Window.drawBackground(SpriteBatch batch,
float parentAlpha) |
Modifier and Type | Method and Description |
---|---|
void |
BaseDrawable.draw(SpriteBatch batch,
float x,
float y,
float width,
float height) |
void |
Drawable.draw(SpriteBatch batch,
float x,
float y,
float width,
float height)
Draws this drawable at the specified bounds.
|
void |
NinePatchDrawable.draw(SpriteBatch batch,
float x,
float y,
float width,
float height) |
void |
SpriteDrawable.draw(SpriteBatch batch,
float x,
float y,
float width,
float height) |
void |
TextureRegionDrawable.draw(SpriteBatch batch,
float x,
float y,
float width,
float height) |
void |
TiledDrawable.draw(SpriteBatch batch,
float x,
float y,
float width,
float height) |