| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
A CompoundTransform represents a 2D or 3D matrix transform. A compound transform represents a matrix that can be queried or set either as a 2D matrix,
a 3D matrix, or as individual convenience transform properties such as x, y, scaleX, rotationZ, etc.
matrix:Matrix| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The 2D matrix either set directly by the user, or composed by combining the transform center, scale, rotation
and translation, in that order.
Implementation public function get matrix():Matrix public function set matrix(value:Matrix):voidmatrix3D:Matrix3D| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The 3D matrix either set directly by the user, or composed by combining the transform center, scale, rotation
and translation, in that order.
Implementation public function get matrix3D():Matrix3D public function set matrix3D(value:Matrix3D):voidrotationX:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The rotationX, in degrees, of the transform.
Implementation public function get rotationX():Number public function set rotationX(value:Number):voidrotationY:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The rotationY, in degrees, of the transform.
Implementation public function get rotationY():Number public function set rotationY(value:Number):voidrotationZ:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The rotationZ, in degrees, of the transform.
Implementation public function get rotationZ():Number public function set rotationZ(value:Number):voidscaleX:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The scaleX of the transform.
Implementation public function get scaleX():Number public function set scaleX(value:Number):voidscaleY:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The scaleY of the transform.
Implementation public function get scaleY():Number public function set scaleY(value:Number):voidscaleZ:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The scaleZ of the transform.
Implementation public function get scaleZ():Number public function set scaleZ(value:Number):voidtransformX:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The x value of the transform center. The transform center is kept fixed as rotation and scale are applied.
Implementation public function get transformX():Number public function set transformX(value:Number):voidtransformY:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The y value of the tansform center. The transform center is kept fixed as rotation and scale are applied.
Implementation public function get transformY():Number public function set transformY(value:Number):voidtransformZ:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The z value of the tansform center. The transform center is kept fixed as rotation and scale are applied.
Implementation public function get transformZ():Number public function set transformZ(value:Number):voidx:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The x value of the transform.
Implementation public function get x():Number public function set x(value:Number):voidy:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The y value of the transform.
Implementation public function get y():Number public function set y(value:Number):voidz:Number| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
The z value of the transform.
Implementation public function get z():Number public function set z(value:Number):voidpublic function CompoundTransform()| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
Constructor.
public function translateBy(x:Number, y:Number, z:Number = 0):void| Language Version: | ActionScript 3.0 |
| Runtime Versions: | Flash Player 9, AIR 1.1 |
Applies the delta to the transform's translation component. Unlike setting the x, y, or z properties directly,
this method can be safely called without changing the transform's concept of 'the source of truth'.
Parameters
public static const SOURCE_MATRIX:uint = 2public static const SOURCE_MATRIX3D:uint = 3