Method | Defined By | ||
---|---|---|---|
getFont(fontname:String, encoding:String = Cp1252, embedded:Boolean = false, size:Number = 14, style:int = -1, color:RGBColor = null):Font [static]
Constructs a Font object. | FontFactory |
getFont | () | method |
public static function getFont(fontname:String, encoding:String = Cp1252, embedded:Boolean = false, size:Number = 14, style:int = -1, color:RGBColor = null):Font
Constructs a Font object.
Parameters
fontname:String — the name of the font
| |
encoding:String (default = Cp1252 ) — the encoding of the font
| |
embedded:Boolean (default = false ) — true if the font is to be embedded in the PDF
| |
size:Number (default = 14 )
| |
style:int (default = -1 )
| |
color:RGBColor (default = null ) — the RGBColor of this font.
|
Font |