| Package | com.degrafa.transform |
| Class | public class Transform |
| Inheritance | Transform DegrafaObject |
| Implements | IGeometryComposition, ITransform |
| Subclasses | MatrixTransform, RotateTransform, ScaleTransform, SkewTransform, TransformGroup, TranslateTransform |
Default MXML Propertygeometry
| Property | Defined by | ||
|---|---|---|---|
| bounds : Rectangle [read-only]
The tight bounds of this element as represented by a Rectangle object.
| Transform | ||
| data : String | Transform | ||
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
| geometry : Array
A array of IGeometryComposition objects.
| Transform | ||
| geometryCollection : GeometryCollection
[read-only]
Access to the Degrafa geometry collection object for this geometry object.
| Transform | ||
![]() | 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 | |
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
| DegrafaObject | |
|
calcBounds():void
Calculates the bounds for this element.
| Transform | ||
![]() |
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 | |
|
draw(graphics:Graphics, rc:Rectangle):void
Begins the draw phase for geometry objects.
| Transform | ||
|
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
| Transform | ||
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| DegrafaObject | |
![]() |
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 | |
|
preDraw():void
| Transform | ||
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
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 | |
| bounds | property |
bounds:Rectangle [read-only]The tight bounds of this element as represented by a Rectangle object.
Implementation public function get bounds():Rectangle
| data | property |
data:String [read-write]Implementation
public function get data():String
public function set data(value:String):void
| geometry | property |
geometry:Array [read-write]A array of IGeometryComposition objects.
Implementation public function get geometry():Array
public function set geometry(value:Array):void
| geometryCollection | property |
geometryCollection:GeometryCollection [read-only]Access to the Degrafa geometry collection object for this geometry object.
Implementation public function get geometryCollection():GeometryCollection
| calcBounds | () | method |
public function calcBounds():voidCalculates the bounds for this element.
| draw | () | method |
public function draw(graphics:Graphics, rc:Rectangle):voidBegins the draw phase for geometry objects. All geometry objects override this to do their specific rendering.
Parametersgraphics:Graphics — The current context to draw to.
|
|
rc:Rectangle — A Rectangle object used for fill bounds.
|
| endDraw | () | method |
public function endDraw(graphics:Graphics):voidEnds the draw phase for geometry objects.
Parametersgraphics:Graphics — The current Graphics context being drawn to.
|
| preDraw | () | method |
public function preDraw():void