public class

FontFactory

extends Object
java.lang.Object
   ↳ org.andengine.opengl.font.FontFactory

Class Overview

(c) 2010 Nicolas Gramlich (c) 2011 Zynga Inc.

Summary

Public Constructors
FontFactory()
Public Methods
static Font create(FontManager pFontManager, ITexture pTexture, float pSize, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, boolean pAntiAlias)
static Font create(FontManager pFontManager, ITexture pTexture, float pSize)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, Typeface pTypeface, float pSize)
static Font create(FontManager pFontManager, ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, Typeface pTypeface, float pSize, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, Typeface pTypeface, float pSize)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, Typeface pTypeface, float pSize, boolean pAntiAlias)
static Font create(FontManager pFontManager, ITexture pTexture, float pSize, boolean pAntiAlias, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, boolean pAntiAlias)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, float pSize, boolean pAntiAlias, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, float pSize, boolean pAntiAlias, int pColor)
static Font create(FontManager pFontManager, ITexture pTexture, float pSize, boolean pAntiAlias)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)
static Font create(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, Typeface pTypeface, float pSize)
static Font createFromAsset(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)
static Font createFromAsset(FontManager pFontManager, ITexture pTexture, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)
static Font createFromAsset(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)
static Font createFromAsset(FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)
static StrokeFont createStroke(FontManager pFontManager, ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor)
static StrokeFont createStroke(FontManager pFontManager, ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor, boolean pStrokeOnly)
static StrokeFont createStrokeFromAsset(FontManager pFontManager, ITexture pTexture, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor)
static StrokeFont createStrokeFromAsset(FontManager pFontManager, ITexture pTexture, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor, boolean pStrokeOnly)
static void onCreate()
static void setAssetBasePath(String pAssetBasePath)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FontFactory ()

Public Methods

public static Font create (FontManager pFontManager, ITexture pTexture, float pSize, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, boolean pAntiAlias)

public static Font create (FontManager pFontManager, ITexture pTexture, float pSize)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, Typeface pTypeface, float pSize)

public static Font create (FontManager pFontManager, ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, Typeface pTypeface, float pSize, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, Typeface pTypeface, float pSize)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, Typeface pTypeface, float pSize, boolean pAntiAlias)

public static Font create (FontManager pFontManager, ITexture pTexture, float pSize, boolean pAntiAlias, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, boolean pAntiAlias)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, float pSize, boolean pAntiAlias, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, float pSize, boolean pAntiAlias, int pColor)

public static Font create (FontManager pFontManager, ITexture pTexture, float pSize, boolean pAntiAlias)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)

public static Font create (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, Typeface pTypeface, float pSize)

public static Font createFromAsset (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, TextureOptions pTextureOptions, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)

public static Font createFromAsset (FontManager pFontManager, ITexture pTexture, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)

public static Font createFromAsset (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, BitmapTexture.BitmapTextureFormat pBitmapTextureFormat, TextureOptions pTextureOptions, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)

public static Font createFromAsset (FontManager pFontManager, TextureManager pTextureManager, int pTextureWidth, int pTextureHeight, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)

public static StrokeFont createStroke (FontManager pFontManager, ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor)

public static StrokeFont createStroke (FontManager pFontManager, ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor, boolean pStrokeOnly)

public static StrokeFont createStrokeFromAsset (FontManager pFontManager, ITexture pTexture, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor)

public static StrokeFont createStrokeFromAsset (FontManager pFontManager, ITexture pTexture, AssetManager pAssetManager, String pAssetPath, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor, boolean pStrokeOnly)

public static void onCreate ()

public static void setAssetBasePath (String pAssetBasePath)

Parameters
pAssetBasePath must end with '/' or have .length() == 0.