Java com.badlogic.gdx.graphics.g2d.freetype FreeTypeFontGenerator fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.graphics.g2d.freetype FreeTypeFontGenerator fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.graphics.g2d.freetype FreeTypeFontGenerator.

The text is from its open source code.

Field

Constructor

FreeTypeFontGenerator(FileHandle font)
Creates a new generator from the given TrueType font file.

Method

voiddispose()
Cleans up all resources of the generator.
FreeTypeBitmapFontDatagenerateData(int size)
Generates a new BitmapFontData instance, expert usage only.
FreeTypeBitmapFontDatagenerateData(FreeTypeFontParameter parameter)
Generates a new BitmapFontData instance, expert usage only.
BitmapFontgenerateFont(int size)
Generates a new BitmapFont .
BitmapFontgenerateFont(FreeTypeFontParameter parameter)
Generates a new BitmapFont .
BitmapFontgenerateFont(int size, String characters, boolean flip)
Generates a new BitmapFont , containing glyphs for the given characters.
intscaleForPixelHeight(int height)
Uses ascender and descender of font to calculate real height that makes all glyphs to fit in given pixel size.