APIdia Launch Partner
Top Fields Constructors Methods
com.badlogic.gdx.tools.bmfont

public Class BitmapFontWriterTest

extends ApplicationAdapter
Class Inheritance
Imports
com.badlogic.gdx.ApplicationAdapter, .Gdx, com.badlogic.gdx.backends.lwjgl.LwjglApplication, com.badlogic.gdx.graphics.Color, .Pixmap, com.badlogic.gdx.graphics.g2d.BitmapFont, .GlyphLayout, .PixmapPacker, .SpriteBatch, com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator, com.badlogic.gdx.graphics.glutils.ShapeRenderer, com.badlogic.gdx.math.MathUtils, com.badlogic.gdx.tools.hiero.Hiero, com.badlogic.gdx.utils.GdxRuntimeException, .ScreenUtils

Field Summary

Modifier and TypeField and Description
pack-priv BitmapFont
pack-priv BitmapFont
pack-priv BitmapFont
pack-priv ShapeRenderer
pack-priv SpriteBatch

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public static void
main(String[] args)

public void
private void
renderFontWithMetrics(BitmapFont font, String text, float x, float y)

Inherited from com.badlogic.gdx.ApplicationAdapter:
disposepauseresizeresume

Field Detail

fontback to summary
pack-priv BitmapFont font
generatedFontback to summary
pack-priv BitmapFont generatedFont
loadedFontback to summary
pack-priv BitmapFont loadedFont
rendererback to summary
pack-priv ShapeRenderer renderer
spriteBatchback to summary
pack-priv SpriteBatch spriteBatch

Constructor Detail

BitmapFontWriterTestback to summary
public BitmapFontWriterTest()

Method Detail

createback to summary
public void create()

Overrides com.badlogic.gdx.ApplicationAdapter.create.

Implements com.badlogic.gdx.ApplicationListener.create.

Doc from com.badlogic.gdx.ApplicationListener.create.

Called when the Application is first created.

Annotations
@Override
mainback to summary
public static void main(String[] args) throws Exception
renderback to summary
public void render()

Overrides com.badlogic.gdx.ApplicationAdapter.render.

Implements com.badlogic.gdx.ApplicationListener.render.

Doc from com.badlogic.gdx.ApplicationListener.render.

Called when the Application should render itself.

Annotations
@Override
renderFontWithMetricsback to summary
private void renderFontWithMetrics(BitmapFont font, String text, float x, float y)