Packagecom.flashdynamix.motion.extras
Classpublic class MatrixTransform



Public Properties
 PropertyDefined by
  degree : Number
Sets and returns the rotation for the DisplayObject in degrees
MatrixTransform
  instance : DisplayObject
MatrixTransform
  registrationX : Number
Sets and returns the x registration for the DisplayObject in pixels.
The scope for the registration point is the DisplayObject's container.
MatrixTransform
  registrationY : Number
Sets and returns the y registration for the DisplayObject in pixels.
The scope for the registration point is the DisplayObject's container.
MatrixTransform
  rotation : Number
Sets and returns the rotation for the DisplayObject in radians
MatrixTransform
  scaleX : Number
Sets and returns the scaleX for the DisplayObject in a percentage.
i.e.
MatrixTransform
  scaleY : Number
Sets and returns the scaleY for the DisplayObject in a percentage.
i.e.
MatrixTransform
  skewX : Number
Sets and returns the skew in the direction x for the DisplayObject in radians.
MatrixTransform
  skewXDegree : Number
Sets and returns the skew in the direction x for the DisplayObject in degrees.
MatrixTransform
  skewY : Number
Sets and returns the skew in the direction y for the DisplayObject in radians.
MatrixTransform
  skewYDegree : Number
Sets and returns the skew in the direction y for the DisplayObject in degrees.
MatrixTransform
  tx : Number
Sets and returns a x translation in pixels to offset the DisplayObject from the registration point.
MatrixTransform
  ty : Number
Sets and returns a y translation in pixels to offset the DisplayObject from the registration point.
MatrixTransform
Public Methods
 MethodDefined by
  
MatrixTransform(instance:DisplayObject)
Allows for Matrix transformations to be applied to DisplayObjects.
These transformations extend the native Matrix functionality by allowing rotation, skew and scale around a registration point.
By default the registration point is set to the top left hand corner.
MatrixTransform
  
toString():String
MatrixTransform
Property detail
degreeproperty
degree:Number  [read-write]

Sets and returns the rotation for the DisplayObject in degrees

Implementation
    public function get degree():Number
    public function set degree(value:Number):void
instanceproperty 
public var instance:DisplayObject
registrationXproperty 
registrationX:Number  [read-write]

Sets and returns the x registration for the DisplayObject in pixels.
The scope for the registration point is the DisplayObject's container.

Implementation
    public function get registrationX():Number
    public function set registrationX(value:Number):void
registrationYproperty 
registrationY:Number  [read-write]

Sets and returns the y registration for the DisplayObject in pixels.
The scope for the registration point is the DisplayObject's container.

Implementation
    public function get registrationY():Number
    public function set registrationY(value:Number):void
rotationproperty 
rotation:Number  [read-write]

Sets and returns the rotation for the DisplayObject in radians

Implementation
    public function get rotation():Number
    public function set rotation(value:Number):void
scaleXproperty 
scaleX:Number  [read-write]

Sets and returns the scaleX for the DisplayObject in a percentage.
i.e. 1 is normal x scale, 2 is double x scale, -1 is inverted x scale.

Implementation
    public function get scaleX():Number
    public function set scaleX(value:Number):void
scaleYproperty 
scaleY:Number  [read-write]

Sets and returns the scaleY for the DisplayObject in a percentage.
i.e. 1 is normal y scale, 2 is double y scale, -1 is inverted y scale.

Implementation
    public function get scaleY():Number
    public function set scaleY(value:Number):void
skewXproperty 
skewX:Number  [read-write]

Sets and returns the skew in the direction x for the DisplayObject in radians.

Implementation
    public function get skewX():Number
    public function set skewX(value:Number):void
skewXDegreeproperty 
skewXDegree:Number  [read-write]

Sets and returns the skew in the direction x for the DisplayObject in degrees.

Implementation
    public function get skewXDegree():Number
    public function set skewXDegree(value:Number):void
skewYproperty 
skewY:Number  [read-write]

Sets and returns the skew in the direction y for the DisplayObject in radians.

Implementation
    public function get skewY():Number
    public function set skewY(value:Number):void
skewYDegreeproperty 
skewYDegree:Number  [read-write]

Sets and returns the skew in the direction y for the DisplayObject in degrees.

Implementation
    public function get skewYDegree():Number
    public function set skewYDegree(value:Number):void
txproperty 
tx:Number  [read-write]

Sets and returns a x translation in pixels to offset the DisplayObject from the registration point.

Implementation
    public function get tx():Number
    public function set tx(value:Number):void
typroperty 
ty:Number  [read-write]

Sets and returns a y translation in pixels to offset the DisplayObject from the registration point.

Implementation
    public function get ty():Number
    public function set ty(value:Number):void
Constructor detail
MatrixTransform()constructor
public function MatrixTransform(instance:DisplayObject)

Allows for Matrix transformations to be applied to DisplayObjects.
These transformations extend the native Matrix functionality by allowing rotation, skew and scale around a registration point.
By default the registration point is set to the top left hand corner.

Parameters
instance:DisplayObject

See also

Method detail
toString()method
public function toString():String

Returns
String