APIdia Launch Partner
Top Interfaces Classes
module gdx

Package com.badlogic.gdx.graphics.g2d


Interface Summary

Modifier and TypeInterface and Description
public interface
Batch

A Batch is used to draw 2D rectangles that reference a texture (region).

public interface
PolygonBatch

A PolygonBatch is an extension of the Batch interface that provides additional render methods specifically for rendering polygons.

Class Summary

Modifier and TypeClass and Description
public class
Animation<T>

An Animation stores a list of objects representing an animated sequence, e.g. for running or jumping.

public class
BitmapFont

Renders bitmap fonts.

public class
BitmapFontCache

Caches glyph geometry for a BitmapFont, providing a fast way to render static text.

public class
CpuSpriteBatch

CpuSpriteBatch behaves like SpriteBatch, except it doesn't flush automatically whenever the transformation matrix changes.

public class
DistanceFieldFont

Renders bitmap fonts using distance field textures, see the Distance Field Fonts wiki article for usage.

public class
public class
GlyphLayout

Stores runs of glyphs for a piece of text.

public class
NinePatch

A 3x3 grid of texture regions.

public class
public class
public class
public class
PixmapPacker

Packs pixmaps into one or more pages to generate an atlas of pixmap instances.

public class
PixmapPackerIO

Saves PixmapPackers to files.

public class
PolygonRegion

Defines a polygon shape on top of a texture region to avoid drawing transparent pixels.

public class
public class
public class
PolygonSpriteBatch

A PolygonSpriteBatch is used to draw 2D polygons that reference a texture (region).

public class
RepeatablePolygonSprite

Renders polygon filled with a repeating TextureRegion with specified density Without causing an additional flush or render call

public class
Sprite

Holds the geometry, color, and texture information for drawing 2D sprites using Batch.

public class
SpriteBatch

Draws batched quads using indices.

public class
SpriteCache

Draws 2D images, optimized for geometry that does not change.

public class
TextureAtlas

Loads images from texture atlases created by TexturePacker.

public class
TextureRegion

Defines a rectangular area of a texture.