適用於 Adobe® Flash® Platform 的 ActionScript® 3.0 參考
首頁  |  隱藏套件和類別清單 |  套件  |  類別  |  新增內容  |  索引  |  附錄  |  為什麼顯示英文?
篩選: 從伺服器擷取資料...
從伺服器擷取資料...
mx.geom 

Transform  - AS3 Flex

套件mx.geom
類別public class Transform
繼承Transform Inheritance Transform Inheritance Object

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

Adds synchronization support on top of the flash.geom.Transform class. The class has a target property which is the IVisualElement that the Transform has been assigned to. The IVisualElement implementations typically set the target to themselves when the Transform is assigned to their transform property.

Changes to the Transform properties automatically get pushed to the target. Reading from the Transform properties reads directly from the target's transform.

更多範例

相關 API 元素



公用屬性
 屬性定義自
 InheritedcolorTransform : flash.geom:ColorTransform
ColorTransform 物件,含有調整整個顯示物件中顏色的值。
Transform
 InheritedconcatenatedColorTransform : flash.geom:ColorTransform
[唯讀] ColorTransform 物件,代表套用至顯示物件及其所有父物件之根層級中的混合顏色轉換。
Transform
 InheritedconcatenatedMatrix : Matrix
[唯讀] Matrix 物件,代表顯示物件及其所有父物件之根層級中的混合變形矩陣。
Transform
 Inheritedconstructor : Object
類別物件的參照或是特定物件實體的建構函數。
Object
 Inheritedmatrix : Matrix
Matrix 物件,含有變更顯示物件之縮放、旋轉和轉移的值。
Transform
  matrix3D : Matrix3D
[覆寫] Provides access to the Matrix3D object of a three-dimensional display object.
Transform
 InheritedperspectiveProjection : PerspectiveProjection
讓使用者存取三維顯示物件的 PerspectiveProjection 物件。
Transform
 InheritedpixelBounds : Rectangle
[唯讀] Rectangle 物件,定義舞台上顯示物件的矩形邊界。
Transform
  target : IVisualElement
The IVisualElement with which the Transform will keep in synch.
Transform
公用方法
 方法定義自
  
Constructor.
Transform
  
[覆寫] Returns a Matrix3D object, which can transform the space of a specified display object in relation to the current display object's space.
Transform
 Inherited
指出物件是否有已定義的指定屬性。
Object
 Inherited
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。
Object
 Inherited
指出指定的屬性是否存在,以及是否可列舉。
Object
 Inherited
為迴圈作業設定動態屬性的可用性。
Object
 Inherited
傳回代表此物件的字串,根據地區特定慣例進行格式化。
Object
 Inherited
會傳回指定之物件的字串形式。
Object
 Inherited
會傳回指定之物件的基本值。
Object
屬性詳細資訊

matrix3D

屬性
matrix3D:Matrix3D[覆寫]

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

Provides access to the Matrix3D object of a three-dimensional display object. The Matrix3D object represents a transformation matrix that determines the display object's position and orientation. A Matrix3D object can also perform perspective projection.

If the matrix property is set to a value (not null), the matrix3D property is null. And if the matrix3D property is set to a value (not null), the matrix property is null.



實作
    override public function get matrix3D():Matrix3D
    override public function set matrix3D(value:Matrix3D):void

target

屬性 
target:IVisualElement

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

The IVisualElement with which the Transform will keep in synch. The IVisualElement implementations will typically set the target to themselves when the Transform is assigned to their transform property.



實作
    public function get target():IVisualElement
    public function set target(value:IVisualElement):void
建構函式詳細資料

Transform

()建構函式
public function Transform(src:DisplayObject = null)

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

Constructor.

參數
src:DisplayObject (default = null) — The target of the transform.
方法詳細資訊

getRelativeMatrix3D

()方法
override public function getRelativeMatrix3D(relativeTo:DisplayObject):Matrix3D

語言版本: ActionScript 3.0
產品版本: Flex 4
執行階段版本: Flash Player 10, AIR 1.5

Returns a Matrix3D object, which can transform the space of a specified display object in relation to the current display object's space. You can use the getRelativeMatrix3D() method to move one three-dimensional display object relative to another three-dimensional display object.

參數

relativeTo:DisplayObject — The display object relative to which the transformation occurs. To get a Matrix3D object relative to the stage, set the parameter to the root or stage object. To get the world-relative matrix of the display object, set the parameter to a display object that has a perspective transformation applied to it.

傳回值
Matrix3D — A Matrix3D object that can be used to transform the space from the relativeTo display object to the current display object space.




[ X ]為什麼顯示英文?
「ActionScript 3.0 參考」的內容是以英文顯示

並非所有「ActionScript 3.0 參考」的內容都翻譯為所有語言。當語言元素未翻譯時,就會以英文顯示。例如,ga.controls.HelpBox 類別並沒有翻譯為任何語言。因此在參考的繁體中文版本中,ga.controls.HelpBox 類別就會以英文顯示。