|
GTGE API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.golden.gamedev.util.FontUtil
public class FontUtil
Utility class for manipulating java.awt.Font object.
| Method Summary | |
|---|---|
static BufferedImage |
createBitmapFont(Font f,
Color col)
Creates bitmap font from specified java.awt.Font that can be used by AdvanceBitmapFont. |
static Font |
createTrueTypeFont(URL url,
int style,
float size)
Creates java.awt.Font from specified True Type Font URL (*.ttf). |
| 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),
GameFontManager.getFont(Font)
public static BufferedImage createBitmapFont(Font f,
Color col)
AdvanceBitmapFont.
AdvanceBitmapFont,
GameFontManager.getFont(BufferedImage)
|
GTGE API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||