...
staticcopyFromFlxText(t:FlxText):FontDef
staticcopyFromTextField(t:TextField):FontDef
staticfromXML(data:Xml):FontDef
@:value({ File : "", Extension : ".ttf" })new(Name:String, Extension:String = ".ttf", File:String = "", ?Format:Null<TextFormat>, ?Border:BorderDef)
border:BorderDef
extension:String
file:String
format:TextFormat
name:String
size:Int
apply(?textField:TextField, ?flxText:FlxText):Void
applyFlx(flxText:FlxText):FlxText
inlineapplyTxt(textField:TextField):TextField
clone():FontDef
@:value({ recursion : 0 })fromStr(str:String, recursion:Int = 0):Void
Given a str like "verdanab.ttf", reverse-engineer the basic font properties
Parameters:
str
a string name of a font, such as "verdanab.ttf"
setFontStyle(str:String):Void
toString():String