Packagecom.degrafa.transform
Classpublic class Transform
InheritanceTransform Inheritance TransformBase Inheritance DegrafaObject
ImplementsITransform

A general purpose Transform. When used in isolation (i.e. not as part of a TransformGroup), settings used on this object will generate transform results similar (but not identical) to results from the Flash IDE property settings for editing properties on objects on the flash Stage.

Default MXML Propertydata



Public Properties
 PropertyDefined by
  angle : Number
The value (in degrees) of the rotation rendering effect for this Transform .
Transform
 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
 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
  scaleX : Number
The value of the scale rendering effect for this Transform along the x axis.
Transform
  scaleY : Number
The value of the scale rendering effect for this Transform along the y axis.
Transform
  skewX : Number
The value of the x skew rendering effect (see SkewTransform) for this Transform .
Transform
  skewY : Number
The value of the y skew rendering effect (see SkewTransform) for this Transform .
Transform
 InheritedsuppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
DegrafaObject
 InheritedtransformMatrix : Matrix
The internal matrix calculated from the exposed transform properties.
TransformBase
  x : Number
The value of the translation rendering effect for this Transform along the x axis.
Transform
  y : Number
The value of the translation rendering effect for this Transform along the y axis.
Transform
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
  
Constructor
Transform
 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
angleproperty
angle:Number  [read-write]

The value (in degrees) of the rotation rendering effect for this Transform . For this composite Transform, rotation is applied after any scaling and skew, and before any translation.

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

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

The value of the scale rendering effect for this Transform along the x axis. For this composite Transform, scaling is applied before skew, rotation and translation.

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

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

The value of the scale rendering effect for this Transform along the y axis. For this composite Transform, scaling is applied before skew, rotation and translation.

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

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

The value of the x skew rendering effect (see SkewTransform) for this Transform . For this composite Transform, skew is applied after any scaling, and before rotation and translation.

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

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

The value of the y skew rendering effect (see SkewTransform) for this Transform . For this composite Transform, skew is applied after any scaling, and before rotation and translation.

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

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

The value of the translation rendering effect for this Transform along the x axis. For this composite Transform, translation is applied after scaling, skew, and rotation.

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

Implementation
    public function get x():Number
    public function set x(value:Number):void
yproperty 
y:Number  [read-write]

The value of the translation rendering effect for this Transform along the y axis. For this composite Transform, translation is applied after scaling, skew, and rotation.

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

Implementation
    public function get y():Number
    public function set y(value:Number):void
Constructor detail
Transform()constructor
public function Transform()

Constructor