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):void
matrix3D: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):void
rotationX: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):void
rotationY: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):void
rotationZ: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):void
scaleX: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):void
scaleY: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):void
scaleZ: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):void
transformX: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):void
transformY: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):void
transformZ: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):void
x: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):void
y: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):void
z: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):void
public 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 = 2
public static const SOURCE_MATRIX3D:uint = 3