libgdx API

Uses of Class
com.badlogic.gdx.graphics.g2d.SpriteBatch

Packages that use SpriteBatch
com.badlogic.gdx.graphics.g2d   
com.badlogic.gdx.physics.box2d   
com.badlogic.gdx.scenes.scene2d   
com.badlogic.gdx.scenes.scene2d.ui   
com.badlogic.gdx.scenes.scene2d.ui.tablelayout   
 

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 substring 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 EmptyNinePatch.draw(SpriteBatch batch, float x, float y, float width, float height)
           
 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 and alignment.
 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.physics.box2d
 

Fields in com.badlogic.gdx.physics.box2d declared as SpriteBatch
 SpriteBatch Box2DDebugRenderer.batch
          a spritebatch and a font for text rendering
 

Uses of SpriteBatch in com.badlogic.gdx.scenes.scene2d
 

Fields in com.badlogic.gdx.scenes.scene2d declared as SpriteBatch
protected  SpriteBatch Stage.batch
           
 

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)
           
abstract  void Actor.draw(SpriteBatch batch, float parentAlpha)
          Draws the Actor.
 void Group.draw(SpriteBatch batch, float parentAlpha)
           
protected  void Group.drawChild(Actor child, SpriteBatch batch, float parentAlpha)
           
protected  void Group.drawChildren(SpriteBatch batch, float parentAlpha)
           
protected  void Group.resetTransform(SpriteBatch batch)
           
 

Constructors in com.badlogic.gdx.scenes.scene2d with parameters of type SpriteBatch
Stage(float width, float height, boolean stretch, SpriteBatch batch)
          Constructs a new Stage object with the given dimensions.
 

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 FlickScrollPane.draw(SpriteBatch batch, float parentAlpha)
           
 void Image.draw(SpriteBatch batch, float parentAlpha)
           
 void ImageButton.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 TextButton.draw(SpriteBatch batch, float parentAlpha)
           
 void TextField.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.
protected  void Window.drawBackground(SpriteBatch batch, float parentAlpha)
           
 

Uses of SpriteBatch in com.badlogic.gdx.scenes.scene2d.ui.tablelayout
 

Methods in com.badlogic.gdx.scenes.scene2d.ui.tablelayout with parameters of type SpriteBatch
 void Table.draw(SpriteBatch batch, float parentAlpha)
           
protected  void Table.drawBackground(SpriteBatch batch, float parentAlpha)
          Called to draw the background, before clipping is applied (if enabled).
 void TableLayout.drawDebug(SpriteBatch batch)
           
 


libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)