|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.golden.gamedev.util.FontUtil
Utility class for manipulating Font object.
Method Summary | |
static BufferedImage |
createBitmapFont(Font f,
Color col)
Creates bitmap font from the specified font that can be used by AdvanceBitmapFont . |
static Font |
createTrueTypeFont(URL url,
int style,
float size)
Creates True Type Font (*.ttf) from the specified URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Font createTrueTypeFont(URL url, int style, float size)
BaseIO.getURL(String)
public static BufferedImage createBitmapFont(Font f, Color col)
AdvanceBitmapFont
.
GameFontManager.getFont(BufferedImage)
,
AdvanceBitmapFont
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |