| Package | frocessing.text |
| Class | public class PFontLoader |
| Inheritance | PFontLoader PFont Object |
| Implements | IObjectLoader |
| Property | Defined By | ||
|---|---|---|---|
![]() | ascent : Number [read-only]
ascent
| PFont | |
![]() | charCount : int | PFont | |
![]() | descent : Number [read-only]
descent
| PFont | |
![]() | fheight : Number | PFont | |
![]() | fwidth : Number | PFont | |
![]() | height : Array | PFont | |
![]() | imageDetail : uint | PFont | |
![]() | leftExtent : Array | PFont | |
![]() | mbox2 : int | PFont | |
![]() | name : String | PFont | |
![]() | psname : String | PFont | |
![]() | setWidth : Array | PFont | |
![]() | size : int [read-only] | PFont | |
| status : int [read-only]
load status. | PFontLoader | ||
| success : Boolean [read-only]
load completed. | PFontLoader | ||
![]() | theight : int | PFont | |
![]() | topExtent : Array | PFont | |
![]() | twidth : int | PFont | |
![]() | value : Array | PFont | |
![]() | width : Array | PFont | |
| Method | Defined By | ||
|---|---|---|---|
PFontLoader(url:String, loader:URLLoader = null, callback:Function = null)
Simple Font Loader
| PFontLoader | ||
![]() | charWidth(c:uint):Number
width of char
| PFont | |
![]() | dispose():void
使用した font image ( BitmapData ) を dispose します. | PFont | |
![]() | getFontImage(image_index:uint):BitmapData
文字の BitmapData を取得します. | PFont | |
![]() | getHeight(glyph_index:uint):Number | PFont | |
![]() | getOffsetX(glyph_index:uint):Number | PFont | |
![]() | getOffsetY(glyph_index:uint):Number | PFont | |
![]() | getWidth(glyph_index:uint):Number | PFont | |
![]() | index(c:uint):int
Get index for the char (convert from unicode to bagel charset). | PFont | |
![]() | kern(a:uint, b:uint):Number
not implemented
| PFont | |
| status | property |
status:int [read-only] load status. 0:loading, 1:complete, -1:error
public function get status():int| success | property |
success:Boolean [read-only] load completed.
public function get success():Boolean| PFontLoader | () | Constructor |
public function PFontLoader(url:String, loader:URLLoader = null, callback:Function = null)Simple Font Loader
Parametersurl:String | |
loader:URLLoader (default = null) | |
callback:Function (default = null) |