| Package | com.degrafa.transform |
| Class | public class Transform |
| Inheritance | Transform TransformBase DegrafaObject |
| Implements | ITransform |
Default MXML Propertydata
| Property | Defined by | ||
|---|---|---|---|
| angle : Number
The value (in degrees) of the rotation rendering effect for this Transform .
| Transform | ||
![]() | centerX : Number
The center point of the transform along the x-axis.
| TransformBase | |
![]() | centerY : Number
The center point of the transform along the y-axis.
| TransformBase | |
![]() | data : String | TransformBase | |
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| DegrafaObject | |
![]() | id : String
The identifier used by document to refer to this object.
| DegrafaObject | |
![]() | invalidated : Boolean
Specifies whether this object's matrix is to be re calculated
on the next request.
| TransformBase | |
![]() | isIdentity : Boolean
Boolean value indicating whether this transform will have no effect on the coordinate space of a target
| TransformBase | |
![]() | isInitialized : Boolean | DegrafaObject | |
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | objectBindings : Array | DegrafaObject | |
![]() | parent : IDegrafaObject
The current degrafa object parent.
| DegrafaObject | |
![]() | registrationPoint : 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 | ||
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
![]() | transformMatrix : 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 | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor
| Transform | ||
![]() |
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 | |
![]() |
dispatchEvent(evt:Event):Boolean
Dispatches an event into the event flow.
| DegrafaObject | |
![]() |
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 | |
![]() |
getRegPoint(value:IGeometryComposition):Point
Retrieves the registration offset for the Geometry target.
| TransformBase | |
![]() |
getRegPointForRectangle(rectangle:Rectangle):Point
Detetermines the transformation registration point based on this transform's settings for an arbitrary Rectangle.
| TransformBase | |
![]() |
getRenderedBounds(target:IGeometryComposition):Rectangle
[static]
Helper method to get the bounds after a transform has been applied
| TransformBase | |
![]() |
getTransformedBoundsFor(value:IGeometryComposition):Rectangle
Utility function used internally for accessing the bounds of a transformed object
| TransformBase | |
![]() |
getTransformFor(value:IGeometryComposition):Matrix
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 | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
hasExplicitSetting():Boolean
A check to determine if the center of transfomation has been explicitly set.
| TransformBase | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| DegrafaObject | |
![]() |
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 | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
transformBounds(rect:Rectangle, trans:Matrix):Rectangle
[static]
Helper method to apply a matrix to a bounds Rectangle and return a transformed bounds Rectangle
| TransformBase | |
![]() |
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 | |
| angle | property |
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
| scaleX | property |
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
| scaleY | property |
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
| skewX | property |
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
| skewY | property |
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
| x | property |
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
| y | property |
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
| Transform | () | constructor |
public function Transform()Constructor