Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
Public Methods |
static
Font
|
create(ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)
|
static
Font
|
createFromAsset(ITexture pTexture, Context pContext, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)
|
static
StrokeFont
|
createStroke(ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor)
|
static
StrokeFont
|
createStroke(ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor, boolean pStrokeOnly)
|
static
StrokeFont
|
createStrokeFromAsset(ITexture pTexture, Context pContext, String pAssetPath, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor)
|
static
StrokeFont
|
createStrokeFromAsset(ITexture pTexture, Context pContext, String pAssetPath, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor, boolean pStrokeOnly)
|
static
void
|
reset()
|
static
void
|
setAssetBasePath(String pAssetBasePath)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
static
Font
create
(ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor)
public
static
Font
createFromAsset
(ITexture pTexture, Context pContext, String pAssetPath, float pSize, boolean pAntiAlias, int pColor)
public
static
StrokeFont
createStroke
(ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor)
public
static
StrokeFont
createStroke
(ITexture pTexture, Typeface pTypeface, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor, boolean pStrokeOnly)
public
static
StrokeFont
createStrokeFromAsset
(ITexture pTexture, Context pContext, String pAssetPath, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor)
public
static
StrokeFont
createStrokeFromAsset
(ITexture pTexture, Context pContext, String pAssetPath, float pSize, boolean pAntiAlias, int pColor, float pStrokeWidth, int pStrokeColor, boolean pStrokeOnly)
public
static
void
reset
()
public
static
void
setAssetBasePath
(String pAssetBasePath)
Parameters
pAssetBasePath
| must end with '/ ' or have .length() == 0 .
|