Packagecom.degrafa.transform
Classpublic class MatrixTransform
InheritanceMatrixTransform Inheritance TransformBase Inheritance DegrafaObject

Matrix Transform creates an affine matrix transformation to manipulate the object in the two dimensional space using custom transformations not provided by the other transform classes. he MatrixTransform uses the regular flash Matrix properties a,b,c,d,tx and ty [reference to go here]



Public Properties
 PropertyDefined by
  a : Number
MatrixTransform
 Inheritedangle : Number
TransformBase
  b : Number
MatrixTransform
  c : Number
MatrixTransform
 InheritedcenterX : Number
The center point of the transform along the x-axis.
TransformBase
 InheritedcenterY : Number
The center point of the transform along the y-axis.
TransformBase
  d : Number
MatrixTransform
 Inheriteddata : String
TransformBase
 Inheriteddocument : Object
The MXML document that created this object.
DegrafaObject
 InheritedenableEvents : Boolean
Enable events for this object.
DegrafaObject
 InheritedhasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
DegrafaObject
 Inheritedid : String
The identifier used by document to refer to this object.
DegrafaObject
 Inheritedinvalidated : Boolean
Specifies whether this object's matrix is to be re calculated on the next request.
TransformBase
 InheritedisIdentity : Boolean
Boolean value indicating whether this transform will have no effect on the coordinate space of a target
TransformBase
 InheritedisInitialized : Boolean
DegrafaObject
 Inheritedname : String
The name that refers to this object.
DegrafaObject
 InheritedobjectBindings : Array
DegrafaObject
 Inheritedparent : IDegrafaObject
The current degrafa object parent.
DegrafaObject
 InheritedregistrationPoint : String
A value defining one of 9 possible registration points.
TransformBase
 InheritedscaleX : Number
TransformBase
 InheritedscaleY : Number
TransformBase
 InheritedskewX : Number
TransformBase
 InheritedskewY : Number
TransformBase
 InheritedsuppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
DegrafaObject
 InheritedtransformMatrix : Matrix
The internal matrix calculated from the exposed transform properties.
TransformBase
  tx : Number
MatrixTransform
  ty : Number
MatrixTransform
 Inheritedx : Number
TransformBase
 Inheritedy : Number
TransformBase
Protected Properties
 PropertyDefined by
 Inherited_angle : Number = 0
TransformBase
 Inherited_centerX : Number = NaN
TransformBase
 Inherited_centerY : Number = NaN
TransformBase
 InheritedeventDispatcher : EventDispatcher
EventDispatcher instance for this object.
DegrafaObject
 Inherited_registrationPoint : String
TransformBase
 Inherited_scaleX : Number = 1
TransformBase
 Inherited_scaleY : Number = 1
TransformBase
 Inherited_skewX : Number = 0
TransformBase
 Inherited_skewY : Number = 0
TransformBase
 Inherited_transformMatrix : Matrix
TransformBase
 Inherited_tx : Number = 0
TransformBase
 Inherited_ty : Number = 0
TransformBase
Public Methods
 MethodDefined by
  
MatrixTransform
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = true):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
DegrafaObject
 Inherited
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
DegrafaObject
 Inherited
dispatchPropertyChange(bubbles:Boolean = false, property:Object = null, oldValue:Object = null, newValue:Object = null, source:Object = null):Boolean
Dispatches an property change event into the event flow.
DegrafaObject
 Inherited
Retrieves the registration offset for the Geometry target.
TransformBase
 Inherited
getRegPointForRectangle(rectangle:Rectangle):Point
Detetermines the transformation registration point based on this transform's settings for an arbitrary Rectangle.
TransformBase
 Inherited
[static] Helper method to get the bounds after a transform has been applied
TransformBase
 Inherited
Utility function used internally for accessing the bounds of a transformed object
TransformBase
 Inherited
Retrieves the adjusted matrix for the registration offset based on the Geometry target bounds, if this transform is based on a registrationPoint, otherwise based on the centerX and centerY settings
TransformBase
 Inherited
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
DegrafaObject
 Inherited
A check to determine if the center of transfomation has been explicitly set.
TransformBase
 Inherited
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
DegrafaObject
 Inherited
initialized(document:Object, id:String):void
Called after the implementing object has been created and all component properties specified on the MXML tag have been initialized.
DegrafaObject
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
DegrafaObject
 Inherited
transformBounds(rect:Rectangle, trans:Matrix):Rectangle
[static] Helper method to apply a matrix to a bounds Rectangle and return a transformed bounds Rectangle
TransformBase
 Inherited
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
DegrafaObject
Protected Methods
 MethodDefined by
 Inherited
getRegistrationPoint(value:IGeometryComposition, rectangle:Rectangle = null):Point
Calculates the translation offset based on the set registration point.
TransformBase
Events
 EventSummaryDefined by
 Inherited  DegrafaObject
 Inherited  DegrafaObject
Property detail
aproperty
a:Number  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get a():Number
    public function set a(value:Number):void
bproperty 
b:Number  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get b():Number
    public function set b(value:Number):void
cproperty 
c:Number  [read-write]

This property can be used as the source for data binding.

Implementation
    public function get c():Number
    public function set c(value:Number):void
dproperty 
d:Number  [read-write]

This property can be used as the source for data binding.

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

This property can be used as the source for data binding.

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

This property can be used as the source for data binding.

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