| Package | com.degrafa.transform |
| Class | public class TranslateTransform |
| Inheritance | TranslateTransform TransformBase DegrafaObject |
| Implements | ITransform |
| Property | Defined by | ||
|---|---|---|---|
![]() | angle : Number | 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 | |
![]() | scaleX : Number | TransformBase | |
![]() | scaleY : Number | TransformBase | |
![]() | skewX : Number | TransformBase | |
![]() | skewY : Number | TransformBase | |
![]() | 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 for this Geometry along the x axis.
| TranslateTransform | ||
| y : Number
The value of the translation rendering for this Geometry along the y axis.
| TranslateTransform | ||
| Method | Defined by | ||
|---|---|---|---|
| TranslateTransform | |||
![]() |
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 | |
| x | property |
x:Number [read-write]The value of the translation rendering for this Geometry along the x axis.
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 for this Geometry along the y axis.
This property can be used as the source for data binding.
Implementation public function get y():Number
public function set y(value:Number):void
| TranslateTransform | () | constructor |
public function TranslateTransform()