Packageorg.purepdf.pdf
Classpublic class PdfFont
InheritancePdfFont Inheritance it.sephiroth.utils.ObjectHash
Implements IComparable



Public Properties
 PropertyDefined By
  font : BaseFont
[read-only]
PdfFont
  horizontalScaling : Number
[write-only]
PdfFont
  image : ImageElement
[write-only]
PdfFont
  size : Number
[read-only]
PdfFont
  width : Number
[read-only]
PdfFont
Public Methods
 MethodDefined By
  
PdfFont($bf:BaseFont, $size:Number)
PdfFont
  
compareTo(o:Object):int
PdfFont
  
[static]
PdfFont
  
getWidth(char:Object = 32):Number
PdfFont
Property Detail
fontproperty
font:BaseFont  [read-only]


Implementation
    public function get font():BaseFont
horizontalScalingproperty 
horizontalScaling:Number  [write-only]


Implementation
    public function set horizontalScaling(value:Number):void
imageproperty 
image:ImageElement  [write-only]


Implementation
    public function set image(value:ImageElement):void
sizeproperty 
size:Number  [read-only]


Implementation
    public function get size():Number
widthproperty 
width:Number  [read-only]


Implementation
    public function get width():Number
Constructor Detail
PdfFont()Constructor
public function PdfFont($bf:BaseFont, $size:Number)



Parameters
$bf:BaseFont
 
$size:Number
Method Detail
compareTo()method
public function compareTo(o:Object):int

Parameters

o:Object

Returns
int
getDefaultFont()method 
public static function getDefaultFont():PdfFont

Returns
PdfFont
getWidth()method 
public function getWidth(char:Object = 32):Number

Parameters

char:Object (default = 32) — Possible values are int, String

Returns
Number