|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use SpriteBatch | |
---|---|
com.badlogic.gdx.graphics.g2d | |
com.badlogic.gdx.scenes.scene2d | |
com.badlogic.gdx.scenes.scene2d.ui | |
com.badlogic.gdx.scenes.scene2d.utils |
Uses of SpriteBatch in com.badlogic.gdx.graphics.g2d |
---|
Methods in com.badlogic.gdx.graphics.g2d with parameters of type SpriteBatch | |
---|---|
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)
|
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. |
Uses of SpriteBatch in com.badlogic.gdx.scenes.scene2d |
---|
Methods in com.badlogic.gdx.scenes.scene2d that return SpriteBatch | |
---|---|
SpriteBatch |
Stage.getSpriteBatch()
|
Methods in com.badlogic.gdx.scenes.scene2d with parameters of type SpriteBatch | |
---|---|
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) . |
Constructors in com.badlogic.gdx.scenes.scene2d with parameters of type SpriteBatch | |
---|---|
Stage(float width,
float height,
boolean keepAspectRatio,
SpriteBatch batch)
Creates a stage with the specified viewport and SpriteBatch . |
Uses of SpriteBatch in com.badlogic.gdx.scenes.scene2d.ui |
---|
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type SpriteBatch | |
---|---|
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)
|
Uses of SpriteBatch in com.badlogic.gdx.scenes.scene2d.utils |
---|
Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type SpriteBatch | |
---|---|
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)
|
|
libgdx API | |||||||||
PREV NEXT | FRAMES NO FRAMES |