Modifier and Type | Class and Description |
---|---|
class |
PolygonSpriteBatch
A PolygonSpriteBatch is used to draw 2D polygons that reference a texture (region).
|
class |
SpriteBatch
Draws batched quads using indices.
|
Modifier and Type | Method and Description |
---|---|
void |
BitmapFontCache.draw(Batch spriteBatch) |
void |
ParticleEffect.draw(Batch spriteBatch) |
void |
ParticleEmitter.draw(Batch batch) |
void |
Sprite.draw(Batch batch) |
BitmapFont.TextBounds |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y)
Draws a string at the specified position.
|
BitmapFont.TextBounds |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y,
int start,
int end)
Draws a string at the specified position.
|
void |
BitmapFontCache.draw(Batch spriteBatch,
float alphaModulation) |
void |
ParticleEffect.draw(Batch spriteBatch,
float delta) |
void |
ParticleEmitter.draw(Batch batch,
float delta)
Updates and draws the particles.
|
void |
Sprite.draw(Batch batch,
float alphaModulation) |
void |
NinePatch.draw(Batch batch,
float x,
float y,
float width,
float height) |
void |
BitmapFontCache.draw(Batch spriteBatch,
int start,
int end) |
BitmapFont.TextBounds |
BitmapFont.drawMultiLine(Batch batch,
java.lang.CharSequence str,
float x,
float y)
Draws a string, which may contain newlines (\n), at the specified position.
|
BitmapFont.TextBounds |
BitmapFont.drawMultiLine(Batch batch,
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(Batch batch,
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(Batch batch,
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 Batch |
BatchTiledMapRenderer.spriteBatch |
Modifier and Type | Method and Description |
---|---|
Batch |
BatchTiledMapRenderer.getSpriteBatch() |
Constructor and Description |
---|
BatchTiledMapRenderer(TiledMap map,
Batch batch) |
BatchTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch) |
HexagonalTiledMapRenderer(TiledMap map,
Batch batch) |
HexagonalTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch) |
IsometricStaggeredTiledMapRenderer(TiledMap map,
Batch batch) |
IsometricStaggeredTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch) |
IsometricTiledMapRenderer(TiledMap map,
Batch batch) |
IsometricTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch) |
OrthogonalTiledMapRenderer(TiledMap map,
Batch batch) |
OrthogonalTiledMapRenderer(TiledMap map,
float unitScale,
Batch batch) |
Modifier and Type | Method and Description |
---|---|
Batch |
Stage.getBatch() |
Modifier and Type | Method and Description |
---|---|
protected void |
Group.applyTransform(Batch batch,
Matrix4 transform)
Set the batch's transformation matrix, often with the result of
Group.computeTransform() . |
void |
Actor.draw(Batch batch,
float parentAlpha)
Draws the actor.
|
void |
Group.draw(Batch batch,
float parentAlpha)
Draws the group and its children.
|
protected void |
Group.drawChildren(Batch batch,
float parentAlpha)
Draws all children.
|
protected void |
Group.resetTransform(Batch batch)
Restores the batch transform to what it was before
Group.applyTransform(Batch, Matrix4) . |
Constructor and Description |
---|
Stage(Viewport viewport,
Batch batch)
Creates a stage with the specified viewport and batch.
|
Modifier and Type | Method and Description |
---|---|
void |
Button.draw(Batch batch,
float parentAlpha) |
void |
CheckBox.draw(Batch batch,
float parentAlpha) |
void |
Container.draw(Batch batch,
float parentAlpha) |
void |
Image.draw(Batch batch,
float parentAlpha) |
void |
ImageButton.draw(Batch batch,
float parentAlpha) |
void |
ImageTextButton.draw(Batch batch,
float parentAlpha) |
void |
Label.draw(Batch batch,
float parentAlpha) |
void |
List.draw(Batch batch,
float parentAlpha) |
void |
ProgressBar.draw(Batch batch,
float parentAlpha) |
void |
ScrollPane.draw(Batch batch,
float parentAlpha) |
void |
SelectBox.draw(Batch batch,
float parentAlpha) |
void |
SplitPane.draw(Batch batch,
float parentAlpha) |
void |
Table.draw(Batch batch,
float parentAlpha) |
void |
TextButton.draw(Batch batch,
float parentAlpha) |
void |
TextField.draw(Batch batch,
float parentAlpha) |
void |
Touchpad.draw(Batch batch,
float parentAlpha) |
void |
Tree.draw(Batch batch,
float parentAlpha) |
void |
Widget.draw(Batch 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(Batch 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(Batch batch,
float parentAlpha) |
protected void |
Container.drawBackground(Batch batch,
float parentAlpha,
float x,
float y)
Called to draw the background, before clipping is applied (if enabled).
|
protected void |
Table.drawBackground(Batch batch,
float parentAlpha,
float x,
float y)
Called to draw the background, before clipping is applied (if enabled).
|
protected void |
Window.drawBackground(Batch batch,
float parentAlpha,
float x,
float y) |
protected void |
TextArea.drawCursor(Drawable cursorPatch,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextField.drawCursor(Drawable cursorPatch,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextArea.drawSelection(Drawable selection,
Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextField.drawSelection(Drawable selection,
Batch batch,
BitmapFont font,
float x,
float y)
Draws selection rectangle
|
protected void |
Window.drawStageBackground(Batch batch,
float parentAlpha,
float x,
float y,
float width,
float height) |
protected void |
TextArea.drawText(Batch batch,
BitmapFont font,
float x,
float y) |
protected void |
TextField.drawText(Batch batch,
BitmapFont font,
float x,
float y) |
Modifier and Type | Method and Description |
---|---|
void |
BaseDrawable.draw(Batch batch,
float x,
float y,
float width,
float height) |
void |
Drawable.draw(Batch batch,
float x,
float y,
float width,
float height)
Draws this drawable at the specified bounds.
|
void |
NinePatchDrawable.draw(Batch batch,
float x,
float y,
float width,
float height) |
void |
SpriteDrawable.draw(Batch batch,
float x,
float y,
float width,
float height) |
void |
TextureRegionDrawable.draw(Batch batch,
float x,
float y,
float width,
float height) |
void |
TiledDrawable.draw(Batch batch,
float x,
float y,
float width,
float height) |
void |
SpriteDrawable.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation) |
void |
TextureRegionDrawable.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation) |
void |
TransformDrawable.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation) |