Uses of Interface
com.badlogic.gdx.graphics.g2d.Batch
-
-
Uses of Batch in com.badlogic.gdx.graphics.g2d
Subinterfaces of Batch in com.badlogic.gdx.graphics.g2d Modifier and Type Interface Description interfacePolygonBatchA PolygonBatch is an extension of the Batch interface that provides additional render methods specifically for rendering polygons.Classes in com.badlogic.gdx.graphics.g2d that implement Batch Modifier and Type Class Description classCpuSpriteBatchCpuSpriteBatch behaves like SpriteBatch, except it doesn't flush automatically whenever the transformation matrix changes.classPolygonSpriteBatchA PolygonSpriteBatch is used to draw 2D polygons that reference a texture (region).classSpriteBatchDraws batched quads using indices.Methods in com.badlogic.gdx.graphics.g2d with parameters of type Batch Modifier and Type Method Description voidBitmapFont. draw(Batch batch, GlyphLayout layout, float x, float y)Draws text at the specified position.GlyphLayoutBitmapFont. draw(Batch batch, java.lang.CharSequence str, float x, float y)Draws text at the specified position.GlyphLayoutBitmapFont. draw(Batch batch, java.lang.CharSequence str, float x, float y, float targetWidth, int halign, boolean wrap)Draws text at the specified position.GlyphLayoutBitmapFont. 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.GlyphLayoutBitmapFont. 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.voidBitmapFontCache. draw(Batch spriteBatch)voidBitmapFontCache. draw(Batch spriteBatch, float alphaModulation)voidBitmapFontCache. draw(Batch spriteBatch, int start, int end)voidNinePatch. draw(Batch batch, float x, float y, float width, float height)voidNinePatch. draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)voidParticleEffect. draw(Batch spriteBatch)voidParticleEffect. draw(Batch spriteBatch, float delta)voidParticleEmitter. draw(Batch batch)voidParticleEmitter. draw(Batch batch, float delta)Updates and draws the particles.voidSprite. draw(Batch batch)voidSprite. draw(Batch batch, float alphaModulation) -
Uses of Batch in com.badlogic.gdx.maps.tiled.renderers
Fields in com.badlogic.gdx.maps.tiled.renderers declared as Batch Modifier and Type Field Description protected BatchBatchTiledMapRenderer. batchMethods in com.badlogic.gdx.maps.tiled.renderers that return Batch Modifier and Type Method Description BatchBatchTiledMapRenderer. getBatch()Constructors in com.badlogic.gdx.maps.tiled.renderers with parameters of type Batch Constructor Description BatchTiledMapRenderer(TiledMap map, float unitScale, Batch batch)BatchTiledMapRenderer(TiledMap map, Batch batch)HexagonalTiledMapRenderer(TiledMap map, float unitScale, Batch batch)HexagonalTiledMapRenderer(TiledMap map, Batch batch)IsometricStaggeredTiledMapRenderer(TiledMap map, float unitScale, Batch batch)IsometricStaggeredTiledMapRenderer(TiledMap map, Batch batch)IsometricTiledMapRenderer(TiledMap map, float unitScale, Batch batch)IsometricTiledMapRenderer(TiledMap map, Batch batch)OrthogonalTiledMapRenderer(TiledMap map, float unitScale, Batch batch)OrthogonalTiledMapRenderer(TiledMap map, Batch batch) -
Uses of Batch in com.badlogic.gdx.scenes.scene2d
Methods in com.badlogic.gdx.scenes.scene2d that return Batch Modifier and Type Method Description BatchStage. getBatch()Methods in com.badlogic.gdx.scenes.scene2d with parameters of type Batch Modifier and Type Method Description protected voidGroup. applyTransform(Batch batch, Matrix4 transform)Set the batch's transformation matrix, often with the result ofGroup.computeTransform().voidActor. draw(Batch batch, float parentAlpha)Draws the actor.voidGroup. draw(Batch batch, float parentAlpha)Draws the group and its children.protected voidGroup. drawChildren(Batch batch, float parentAlpha)Draws all children.protected voidGroup. resetTransform(Batch batch)Restores the batch transform to what it was beforeGroup.applyTransform(Batch, Matrix4).Constructors in com.badlogic.gdx.scenes.scene2d with parameters of type Batch Constructor Description Stage(Viewport viewport, Batch batch)Creates a stage with the specified viewport and batch. -
Uses of Batch in com.badlogic.gdx.scenes.scene2d.ui
Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Batch Modifier and Type Method Description voidButton. draw(Batch batch, float parentAlpha)voidCheckBox. draw(Batch batch, float parentAlpha)voidContainer. draw(Batch batch, float parentAlpha)voidImage. draw(Batch batch, float parentAlpha)voidImageButton. draw(Batch batch, float parentAlpha)voidImageTextButton. draw(Batch batch, float parentAlpha)voidLabel. draw(Batch batch, float parentAlpha)voidList. draw(Batch batch, float parentAlpha)voidParticleEffectActor. draw(Batch batch, float parentAlpha)voidProgressBar. draw(Batch batch, float parentAlpha)voidScrollPane. draw(Batch batch, float parentAlpha)voidSelectBox. draw(Batch batch, float parentAlpha)voidSelectBox.SelectBoxScrollPane. draw(Batch batch, float parentAlpha)voidSplitPane. draw(Batch batch, float parentAlpha)voidTable. draw(Batch batch, float parentAlpha)voidTextButton. draw(Batch batch, float parentAlpha)voidTextField. draw(Batch batch, float parentAlpha)voidTouchpad. draw(Batch batch, float parentAlpha)voidTree. draw(Batch batch, float parentAlpha)voidWidget. draw(Batch batch, float parentAlpha)If this method is overridden, the super method orWidget.validate()should be called to ensure the widget is laid out.voidWidgetGroup. draw(Batch batch, float parentAlpha)If this method is overridden, the super method orWidgetGroup.validate()should be called to ensure the widget group is laid out.voidWindow. draw(Batch batch, float parentAlpha)protected voidContainer. drawBackground(Batch batch, float parentAlpha, float x, float y)Called to draw the background, before clipping is applied (if enabled).protected voidList. drawBackground(Batch batch, float parentAlpha)Called to draw the background.protected voidTable. drawBackground(Batch batch, float parentAlpha, float x, float y)Called to draw the background, before clipping is applied (if enabled).protected voidTree. drawBackground(Batch batch, float parentAlpha)Called to draw the background.protected voidWindow. drawBackground(Batch batch, float parentAlpha, float x, float y)protected voidTextArea. drawCursor(Drawable cursorPatch, Batch batch, BitmapFont font, float x, float y)protected voidTextField. drawCursor(Drawable cursorPatch, Batch batch, BitmapFont font, float x, float y)protected voidTree. drawExpandIcon(N node, Drawable expandIcon, Batch batch, float x, float y)protected voidTree. drawIcon(N node, Drawable icon, Batch batch, float x, float y)protected floatTree. drawIcons(Batch batch, float r, float g, float b, float a, N parent, Array<N> nodes, float indent, float plusMinusWidth)Draws selection, icons, and expand icons.protected GlyphLayoutList. drawItem(Batch batch, BitmapFont font, int index, T item, float x, float y, float width)protected GlyphLayoutSelectBox. drawItem(Batch batch, BitmapFont font, T item, float x, float y, float width)protected voidTextField. drawMessageText(Batch batch, BitmapFont font, float x, float y, float maxWidth)protected voidTree. drawOver(N node, Drawable over, Batch batch, float x, float y, float width, float height)protected voidScrollPane. drawScrollBars(Batch batch, float r, float g, float b, float a)Renders the scrollbars after the children have been drawn.protected voidList. drawSelection(Batch batch, Drawable drawable, float x, float y, float width, float height)protected voidTextArea. drawSelection(Drawable selection, Batch batch, BitmapFont font, float x, float y)protected voidTextField. drawSelection(Drawable selection, Batch batch, BitmapFont font, float x, float y)Draws selection rectangleprotected voidTree. drawSelection(N node, Drawable selection, Batch batch, float x, float y, float width, float height)protected voidWindow. drawStageBackground(Batch batch, float parentAlpha, float x, float y, float width, float height)protected voidTextArea. drawText(Batch batch, BitmapFont font, float x, float y)protected voidTextField. drawText(Batch batch, BitmapFont font, float x, float y) -
Uses of Batch in com.badlogic.gdx.scenes.scene2d.utils
Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Batch Modifier and Type Method Description voidBaseDrawable. draw(Batch batch, float x, float y, float width, float height)voidDrawable. draw(Batch batch, float x, float y, float width, float height)Draws this drawable at the specified bounds.voidNinePatchDrawable. draw(Batch batch, float x, float y, float width, float height)voidNinePatchDrawable. draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)voidSpriteDrawable. draw(Batch batch, float x, float y, float width, float height)voidSpriteDrawable. draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)voidTextureRegionDrawable. draw(Batch batch, float x, float y, float width, float height)voidTextureRegionDrawable. draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)voidTiledDrawable. draw(Batch batch, float x, float y, float width, float height)voidTiledDrawable. draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)static voidTiledDrawable. draw(Batch batch, TextureRegion textureRegion, float x, float y, float width, float height, float scale, int align)voidTransformDrawable. draw(Batch batch, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation)
-