Modifier and Type | Interface and Description |
---|---|
interface |
PolygonBatch
A PolygonBatch is an extension of the Batch interface that provides additional render methods specifically for rendering
polygons.
|
Modifier and Type | Class and Description |
---|---|
class |
CpuSpriteBatch
CpuSpriteBatch behaves like SpriteBatch, except it doesn't flush automatically whenever the transformation matrix changes.
|
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) |
GlyphLayout |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y,
float targetWidth,
int halign,
boolean wrap)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
java.lang.CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap,
java.lang.String truncate)
Draws text 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 |
NinePatch.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation) |
void |
BitmapFont.draw(Batch batch,
GlyphLayout layout,
float x,
float y)
Draws text at the specified position.
|
void |
BitmapFontCache.draw(Batch spriteBatch,
int start,
int end) |
Modifier and Type | Field and Description |
---|---|
protected Batch |
BatchTiledMapRenderer.batch |
Modifier and Type | Method and Description |
---|---|
Batch |
BatchTiledMapRenderer.getBatch() |
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 |
List.drawBackground(Batch batch,
float parentAlpha)
Called to draw the background.
|
protected void |
Tree.drawBackground(Batch batch,
float parentAlpha)
Called to draw the background.
|
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 |
Tree.drawExpandIcon(N node,
Drawable expandIcon,
Batch batch,
float x,
float y) |
protected void |
Tree.drawIcon(N node,
Drawable icon,
Batch batch,
float x,
float y) |
protected GlyphLayout |
List.drawItem(Batch batch,
BitmapFont font,
int index,
T item,
float x,
float y,
float width) |
protected GlyphLayout |
SelectBox.drawItem(Batch batch,
BitmapFont font,
T item,
float x,
float y,
float width) |
protected void |
TextField.drawMessageText(Batch batch,
BitmapFont font,
float x,
float y,
float maxWidth) |
protected void |
Tree.drawOver(N node,
Drawable over,
Batch batch,
float x,
float y,
float width,
float height) |
protected void |
ScrollPane.drawScrollBars(Batch batch,
float r,
float g,
float b,
float a)
Renders the scrollbars after the children have been drawn.
|
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 |
Tree.drawSelection(N node,
Drawable selection,
Batch batch,
float x,
float y,
float width,
float height) |
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 |
NinePatchDrawable.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation) |
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 |
TiledDrawable.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) |