Struct Font


Constants

const TEXTCOLOR​_BRICK = "\034A"

const TEXTCOLOR​_TAN = "\034B"

const TEXTCOLOR​_GRAY = "\034C"

const TEXTCOLOR​_GREY = "\034C"

const TEXTCOLOR​_GREEN = "\034D"

const TEXTCOLOR​_BROWN = "\034E"

const TEXTCOLOR​_GOLD = "\034F"

const TEXTCOLOR​_RED = "\034G"

const TEXTCOLOR​_BLUE = "\034H"

const TEXTCOLOR​_ORANGE = "\034I"

const TEXTCOLOR​_WHITE = "\034J"

const TEXTCOLOR​_YELLOW = "\034K"


const TEXTCOLOR​_BLACK = "\034M"

const TEXTCOLOR​_LIGHTBLUE = "\034N"

const TEXTCOLOR​_CREAM = "\034O"

const TEXTCOLOR​_OLIVE = "\034P"

const TEXTCOLOR​_DARKGREEN = "\034Q"

const TEXTCOLOR​_DARKRED = "\034R"

const TEXTCOLOR​_DARKBROWN = "\034S"

const TEXTCOLOR​_PURPLE = "\034T"

const TEXTCOLOR​_DARKGRAY = "\034U"

const TEXTCOLOR​_CYAN = "\034V"

const TEXTCOLOR​_ICE = "\034W"

const TEXTCOLOR​_FIRE = "\034X"

const TEXTCOLOR​_SAPPHIRE = "\034Y"

const TEXTCOLOR​_TEAL = "\034Z"

const TEXTCOLOR​_NORMAL = "\034-"

const TEXTCOLOR​_BOLD = "\034+"

const TEXTCOLOR​_CHAT = "\034*"

const TEXTCOLOR​_TEAMCHAT = "\034!"

Public Functions

native int GetCharWidth(int code)

native int StringWidth(String code)


native bool CanPrint(String code)

native int GetHeight()


native String GetCursor()

native static int FindFontColor(
Name color
)



native static Font FindFont(
Name fontname
)

native static Font GetFont(
Name fontname
)

native BrokenLines BreakLines(
String text,
int maxlen
)

native int GetGlyphHeight(int code)


Inner Enums