Packagedanmaq.nineball.struct
Classpublic final class CFontBit
ImplementsIDisposed

単文字フォントクラスです。 CTaskFontの内部で使用されるクラスです。 通常、直接使用することはありません。



Public Properties
 PropertyDefined by
  alpha : Number
透過度を取得します。
CFontBit
  disposed : Boolean
[read-only] 解放したかどうかを取得します。
CFontBit
  fontHash : Dictionary
[static] ビットマップフォントの定義リストが格納されます。
CFontBit
  rotate : Number = 0
回転角度が格納されます。
CFontBit
  size : Point
[read-only] 拡縮しない状態での画像サイズを取得します。
CFontBit
  text : String
[read-only] 表示するテキストを取得します。
CFontBit
  view : Boolean
現在表示されているかどうかを取得します。
CFontBit
Public Methods
 MethodDefined by
  
CFontBit(strByte:String, uScreen:uint = 0, uLayer:uint = 0, fSpacing:Number = 4)
コンストラクタ。
CFontBit
  
dispose():void
デストラクタ。
CFontBit
  
render():void
レンダリングします。
CFontBit
Public Constants
 ConstantDefined by
  color : ColorTransform
色変換構造体が格納されます。
CFontBit
  pos : Point
座標が格納されます。
CFontBit
  scale : Point
拡大率が格納されます。
CFontBit
Property detail
alphaproperty
alpha:Number  [read-write]

透過度を取得します。

Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
disposedproperty 
disposed:Boolean  [read-only]

解放したかどうかを取得します。

Implementation
    public function get disposed():Boolean
fontHashproperty 
public static var fontHash:Dictionary

ビットマップフォントの定義リストが格納されます。

rotateproperty 
public var rotate:Number = 0

回転角度が格納されます。

sizeproperty 
size:Point  [read-only]

拡縮しない状態での画像サイズを取得します。

Implementation
    public function get size():Point
textproperty 
text:String  [read-only]

表示するテキストを取得します。

Implementation
    public function get text():String
viewproperty 
view:Boolean  [read-write]

現在表示されているかどうかを取得します。

Implementation
    public function get view():Boolean
    public function set view(value:Boolean):void
Constructor detail
CFontBit()constructor
public function CFontBit(strByte:String, uScreen:uint = 0, uLayer:uint = 0, fSpacing:Number = 4)

コンストラクタ。

Parameters
strByte:String — 単文字
 
uScreen:uint (default = 0) — 画面番号
 
uLayer:uint (default = 0) — レイヤ番号
 
fSpacing:Number (default = 4) — スペース幅
Method detail
dispose()method
public function dispose():void

デストラクタ。

render()method 
public function render():void

レンダリングします。

Constant detail
colorconstant
public const color:ColorTransform

色変換構造体が格納されます。

posconstant 
public const pos:Point

座標が格納されます。

scaleconstant 
public const scale:Point

拡大率が格納されます。