Packagecom.degrafa.transform
Classpublic class TransformGroup
InheritanceTransformGroup Inheritance TransformBase Inheritance DegrafaObject
ImplementsITransform

TransformGroup is a collection of Degrafa Transforms that are processed together to generate a composite transform on the requesting geometry and/or fill object. The same collection of transforms will generate a different result depending on their sequence.

Default MXML Propertytransforms



Public Properties
 PropertyDefined by
 Inheritedangle : Number
TransformBase
 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
 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
  isIdentity : Boolean
[read-only]
TransformGroup
 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
  transformCollection : TransformCollection
[read-only] Access to the Degrafa transforms collection object for this geometry object.
TransformGroup
  transformMatrix : Matrix
[read-only]
TransformGroup
  transforms : Array
A array of ITransform objects.
TransformGroup
 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
  
TransformGroup
 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
  
TransformGroup
 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
isIdentityproperty
isIdentity:Boolean  [read-only]Implementation
    public function get isIdentity():Boolean
transformCollectionproperty 
transformCollection:TransformCollection  [read-only]

Access to the Degrafa transforms collection object for this geometry object.

Implementation
    public function get transformCollection():TransformCollection
transformMatrixproperty 
transformMatrix:Matrix  [read-only]Implementation
    public function get transformMatrix():Matrix
transformsproperty 
transforms:Array  [read-write]

A array of ITransform objects.

Implementation
    public function get transforms():Array
    public function set transforms(value:Array):void
Constructor detail
TransformGroup()constructor
public function TransformGroup()
Method detail
getTransformFor()method
public override function getTransformFor(value:IGeometryComposition):MatrixParameters
value:IGeometryComposition

Returns
Matrix