Packagefrocessing.text
Classpublic class PFontLoader
InheritancePFontLoader Inheritance PFont Inheritance Object
Implements IObjectLoader

vlw font loader.



Public Properties
 PropertyDefined By
 Inheritedascent : Number
[read-only] ascent
PFont
 InheritedcharCount : int
PFont
 Inheriteddescent : Number
[read-only] descent
PFont
 Inheritedfheight : Number
PFont
 Inheritedfwidth : Number
PFont
 Inheritedheight : Array
PFont
 InheritedimageDetail : uint
PFont
 InheritedleftExtent : Array
PFont
 Inheritedmbox2 : int
PFont
 Inheritedname : String
PFont
 Inheritedpsname : String
PFont
 InheritedsetWidth : Array
PFont
 Inheritedsize : int
[read-only]
PFont
  status : int
[read-only] load status.
PFontLoader
  success : Boolean
[read-only] load completed.
PFontLoader
 Inheritedtheight : int
PFont
 InheritedtopExtent : Array
PFont
 Inheritedtwidth : int
PFont
 Inheritedvalue : Array
PFont
 Inheritedwidth : Array
PFont
Public Methods
 MethodDefined By
  
PFontLoader(url:String, loader:URLLoader = null, callback:Function = null)
Simple Font Loader
PFontLoader
 Inherited
charWidth(c:uint):Number
width of char
PFont
 Inherited
dispose():void
使用した font image ( BitmapData ) を dispose します.
PFont
 Inherited
getFontImage(image_index:uint):BitmapData
文字の BitmapData を取得します.
PFont
 Inherited
getHeight(glyph_index:uint):Number
PFont
 Inherited
getOffsetX(glyph_index:uint):Number
PFont
 Inherited
getOffsetY(glyph_index:uint):Number
PFont
 Inherited
getWidth(glyph_index:uint):Number
PFont
 Inherited
index(c:uint):int
Get index for the char (convert from unicode to bagel charset).
PFont
 Inherited
kern(a:uint, b:uint):Number
not implemented
PFont
Property Detail
statusproperty
status:int  [read-only]

load status. 0:loading, 1:complete, -1:error


Implementation
    public function get status():int
successproperty 
success:Boolean  [read-only]

load completed.


Implementation
    public function get success():Boolean
Constructor Detail
PFontLoader()Constructor
public function PFontLoader(url:String, loader:URLLoader = null, callback:Function = null)

Simple Font Loader

Parameters
url:String
 
loader:URLLoader (default = null)
 
callback:Function (default = null)