Packagedanmaq.nineball.struct.font
Classpublic class CFontTransformBit
SubclassesCFontTransform

フォントの描画調整情報を保持する構造体です。

通常、ユーザはこのクラスよりもサブクラスである CFontTransformを使用することの方が多いでしょう。

See also

danmaq.nineball.struct.CFontTransform
danmaq.nineball.task.CTaskFont


Public Properties
 PropertyDefined by
  alpha : Number
透明度を取得します。
CFontTransformBit
  clone : CFontTransformBit
[read-only] オブジェクトのコピーを取得します。
CFontTransformBit
  color : uint
色を取得します。
CFontTransformBit
  rotate : Number
回転角度を取得します。
CFontTransformBit
  smoothing : Boolean
アンチエイリアスを施すかどうかが格納されます。
CFontTransformBit
Public Methods
 MethodDefined by
  
CFontTransformBit(pos:Point = null, scale:Point = null, rotate:Number = 0, alpha:Number = 1, color:uint = 0xFFFFFF, smoothing:Boolean = false)
コンストラクタ。
CFontTransformBit
  
toString():String
オブジェクトのストリング表現を取得します。 このクラスでは、設定された値の一覧を文字列形式で習得します。
CFontTransformBit
Public Constants
 ConstantDefined by
  pos : Point
座標が格納されます。
CFontTransformBit
  scale : Point
拡大率が格納されます。
CFontTransformBit
Property detail
alphaproperty
alpha:Number  [read-write]

透明度を取得します。

Implementation
    public function get alpha():Number
    public function set alpha(value:Number):void
cloneproperty 
clone:CFontTransformBit  [read-only]

オブジェクトのコピーを取得します。

Implementation
    public function get clone():CFontTransformBit
colorproperty 
color:uint  [read-write]

色を取得します。

Implementation
    public function get color():uint
    public function set color(value:uint):void
rotateproperty 
rotate:Number  [read-write]

回転角度を取得します。

Implementation
    public function get rotate():Number
    public function set rotate(value:Number):void
smoothingproperty 
public var smoothing:Boolean

アンチエイリアスを施すかどうかが格納されます。

Constructor detail
CFontTransformBit()constructor
public function CFontTransformBit(pos:Point = null, scale:Point = null, rotate:Number = 0, alpha:Number = 1, color:uint = 0xFFFFFF, smoothing:Boolean = false)

コンストラクタ。

Parameters
pos:Point (default = null) — 座標
 
scale:Point (default = null) — 拡大率
 
rotate:Number (default = 0) — 回転角度
 
alpha:Number (default = 1) — 透過度
 
color:uint (default = 0xFFFFFF) — 乗算するカラーコード
 
smoothing:Boolean (default = false) — アンチエイリアスを施すかどうか
Method detail
toString()method
public function toString():String

オブジェクトのストリング表現を取得します。 このクラスでは、設定された値の一覧を文字列形式で習得します。

Returns
String
Constant detail
posconstant
public const pos:Point

座標が格納されます。

scaleconstant 
public const scale:Point

拡大率が格納されます。