| Property | Defined 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 | ||
| Method | Defined 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 | ||
| degree | property |
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
| instance | property |
public var instance:DisplayObject
| registrationX | property |
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.
public function get registrationX():Number
public function set registrationX(value:Number):void
| registrationY | property |
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.
public function get registrationY():Number
public function set registrationY(value:Number):void
| rotation | property |
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
| scaleX | property |
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.
public function get scaleX():Number
public function set scaleX(value:Number):void
| scaleY | property |
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.
public function get scaleY():Number
public function set scaleY(value:Number):void
| skewX | property |
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
| skewXDegree | property |
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
| skewY | property |
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
| skewYDegree | property |
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
| tx | property |
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
| ty | property |
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
| 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.
instance:DisplayObject |
See also
| toString | () | method |
public function toString():String
Returns
String |