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 |
Sprite.draw(Batch batch) |
void |
ParticleEmitter.draw(Batch batch) |
void |
ParticleEffect.draw(Batch spriteBatch) |
void |
BitmapFontCache.draw(Batch spriteBatch) |
GlyphLayout |
BitmapFont.draw(Batch batch,
CharSequence str,
float x,
float y)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
CharSequence str,
float x,
float y,
float targetWidth,
int halign,
boolean wrap)
Draws text at the specified position.
|
GlyphLayout |
BitmapFont.draw(Batch batch,
CharSequence str,
float x,
float y,
int start,
int end,
float targetWidth,
int halign,
boolean wrap)
Draws text at the specified position.
|
void |
Sprite.draw(Batch batch,
float alphaModulation) |
void |
ParticleEmitter.draw(Batch batch,
float delta)
Updates and draws the particles.
|
void |
ParticleEffect.draw(Batch spriteBatch,
float delta) |
void |
BitmapFontCache.draw(Batch spriteBatch,
float alphaModulation) |
void |
NinePatch.draw(Batch batch,
float x,
float y,
float width,
float height) |
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 | 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 |
---|---|
void |
Group.draw(Batch batch,
float parentAlpha)
Draws the group and its children.
|
void |
Actor.draw(Batch batch,
float parentAlpha)
Draws the actor.
|
Constructor and Description |
---|
Stage(Viewport viewport,
Batch batch)
Creates a stage with the specified viewport and batch.
|
Modifier and Type | Method and Description |
---|---|
void |
Window.draw(Batch batch,
float parentAlpha) |
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 |
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 |
Tree.draw(Batch batch,
float parentAlpha) |
void |
Touchpad.draw(Batch batch,
float parentAlpha) |
void |
TextField.draw(Batch batch,
float parentAlpha) |
void |
TextButton.draw(Batch batch,
float parentAlpha) |
void |
Table.draw(Batch batch,
float parentAlpha) |
void |
SplitPane.draw(Batch batch,
float parentAlpha) |
void |
SelectBox.draw(Batch batch,
float parentAlpha) |
void |
ScrollPane.draw(Batch batch,
float parentAlpha) |
void |
ProgressBar.draw(Batch batch,
float parentAlpha) |
void |
List.draw(Batch batch,
float parentAlpha) |
void |
Label.draw(Batch batch,
float parentAlpha) |
void |
ImageTextButton.draw(Batch batch,
float parentAlpha) |
void |
ImageButton.draw(Batch batch,
float parentAlpha) |
void |
Image.draw(Batch batch,
float parentAlpha) |
void |
Container.draw(Batch batch,
float parentAlpha) |
void |
CheckBox.draw(Batch batch,
float parentAlpha) |
void |
Button.draw(Batch batch,
float parentAlpha) |
Modifier and Type | Method and Description |
---|---|
void |
TiledDrawable.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 |
SpriteDrawable.draw(Batch batch,
float x,
float y,
float width,
float height) |
void |
NinePatchDrawable.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 |
BaseDrawable.draw(Batch batch,
float x,
float y,
float width,
float height) |
void |
TransformDrawable.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 |
SpriteDrawable.draw(Batch batch,
float x,
float y,
float originX,
float originY,
float width,
float height,
float scaleX,
float scaleY,
float rotation) |
Copyright © 2015. All rights reserved.