Packagedanmaq.nineball.struct.font
Classpublic final class CFontBit
ImplementsIDisposed

単文字フォントクラスです。

クラスCTaskFont内部で自動的に使用します。 通常ユーザが直接使用する必要はありません。

See also

danmaq.nineball.task.CTaskFont


Public Properties
 PropertyDefined by
  disposed : Boolean
[read-only] 解放したかどうかを取得します。
CFontBit
  size : Point
[read-only] 拡縮しない状態での画像サイズを取得します。
CFontBit
  text : String
[read-only] 表示するテキストを取得します。
CFontBit
  view : Boolean
現在表示されているかどうかを取得します。
CFontBit
Public Methods
 MethodDefined by
  
CFontBit(fontResource:CFontResource, strByte:String, screen:CScreen, uLayer:uint = 0)
コンストラクタ。
CFontBit
  
dispose():void
解放時に管理クラスから呼び出されます。
CFontBit
  
レンダリングします。
CFontBit
Property detail
disposedproperty
disposed:Boolean  [read-only]

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

Implementation
    public function get disposed():Boolean
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(fontResource:CFontResource, strByte:String, screen:CScreen, uLayer:uint = 0)

コンストラクタ。

Parameters
fontResource:CFontResource — フォントリソース
 
strByte:String — 単文字
 
screen:CScreen — 格納する画面管理クラス
 
uLayer:uint (default = 0) — レイヤ番号
Method detail
dispose()method
public function dispose():void

解放時に管理クラスから呼び出されます。

render()method 
public function render(info:CFontTransformBit):void

レンダリングします。

Parameters
info:CFontTransformBit — フォント描画調整情報