Packagedanmaq.nineball.struct.font
Classpublic final class CFontTransform
InheritanceCFontTransform Inheritance CFontTransformBit

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

See also

danmaq.nineball.task.CTaskFont


Public Properties
 PropertyDefined by
 Inheritedalpha : Number
透明度を取得します。
CFontTransformBit
  clone : CFontTransformBit
[read-only] オブジェクトのコピーを取得します。
CFontTransform
 Inheritedcolor : uint
色を取得します。
CFontTransformBit
  halign : String
水平位置揃え情報が格納されます。
CFontTransform
  kerning : Number
カーニングの度合が格納されます。 0で-100%、1で0%です。
CFontTransform
 Inheritedrotate : Number
回転角度を取得します。
CFontTransformBit
 Inheritedsmoothing : Boolean
アンチエイリアスを施すかどうかが格納されます。
CFontTransformBit
  valign : String
垂直位置揃え情報が格納されます。
CFontTransform
Public Methods
 MethodDefined by
  
CFontTransform(pos:Point = null, scale:Point = null, rotate:Number = 0, alpha:Number = 1, color:uint = 0xFFFFFF, smoothing:Boolean = false, kerning:Number = 1, halign:String, valign:String)
コンストラクタ。
CFontTransform
  
toString():String
オブジェクトのストリング表現を取得します。 このクラスでは、設定された値の一覧を文字列形式で習得します。
CFontTransform
Public Constants
 ConstantDefined by
  BOTTOM_RIGHT : String = "BOTTOM_RIGHT"
[static] 下端寄せ、または右端寄せを指示するための定数が格納されます。
CFontTransform
  CENTER : String = "CENTER"
[static] センタリングを指示するための定数が格納されます。
CFontTransform
 Inheritedpos : Point
座標が格納されます。
CFontTransformBit
 Inheritedscale : Point
拡大率が格納されます。
CFontTransformBit
  TOP_LEFT : String = "TOP_LEFT"
[static] 上端寄せ、または左端寄せを指示するための定数が格納されます。
CFontTransform
Property detail
cloneproperty
clone:CFontTransformBit  [read-only]

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

Implementation
    public function get clone():CFontTransformBit
halignproperty 
public var halign:String

水平位置揃え情報が格納されます。

kerningproperty 
public var kerning:Number

カーニングの度合が格納されます。 0で-100%、1で0%です。

valignproperty 
public var valign:String

垂直位置揃え情報が格納されます。

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

コンストラクタ。

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) — アンチエイリアスを施すかどうか
 
kerning:Number (default = 1) — カーニング度合
 
halign:String — 水平位置揃え情報
 
valign:String — 垂直位置揃え情報
Method detail
toString()method
public override function toString():String

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

Returns
String
Constant detail
BOTTOM_RIGHTconstant
public static const BOTTOM_RIGHT:String = "BOTTOM_RIGHT"

下端寄せ、または右端寄せを指示するための定数が格納されます。

CENTERconstant 
public static const CENTER:String = "CENTER"

センタリングを指示するための定数が格納されます。

TOP_LEFTconstant 
public static const TOP_LEFT:String = "TOP_LEFT"

上端寄せ、または左端寄せを指示するための定数が格納されます。