| Package | com.degrafa.geometry |
| Class | public class GeometryUnion |
| Inheritance | GeometryUnion Geometry DegrafaObject |
| Implements | IGeometry |
| Method | Defined by | ||
|---|---|---|---|
| GeometryUnion | |||
![]() |
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 | |
![]() |
angleAt(t:Number):Number
Returns the angle of a point t(0-1) on the path.
| Geometry | |
|
calculateLayout(childBounds:Rectangle = null):void
Performs the specific layout work required by this Geometry.
| GeometryUnion | ||
![]() |
clearGraphicsTargets():void
Clears all graphics targets specified in the graphicsTarget array.
| Geometry | |
![]() |
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
| GeometryUnion | ||
![]() |
drawToTargets():void
Requests a draw for each graphics target specified in the graphicsTarget array.
| Geometry | |
|
endDraw(graphics:Graphics):void
| GeometryUnion | ||
![]() |
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 | |
|
initFill(graphics:Graphics, rc:Rectangle):void
| GeometryUnion | ||
![]() |
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 | |
![]() |
initStroke(graphics:Graphics, rc:Rectangle):void
Initialise the stroke for this geometry object.
| Geometry | |
![]() |
pointAt(t:Number):Point
Returns the point at t(0-1) on this object.
| Geometry | |
|
preDraw():void
| GeometryUnion | ||
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| DegrafaObject | |
![]() |
styleChanged(styleProp:String):void
Called when the value of a style property is changed.
| Geometry | |
![]() |
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 | |
| Method | Defined by | ||
|---|---|---|---|
|
propertyChangeHandler(event:PropertyChangeEvent):void
Principle event handler for any property changes to a
geometry object or it's child objects.
| GeometryUnion | ||
| GeometryUnion | () | constructor |
public function GeometryUnion()
| calculateLayout | () | method |
public override function calculateLayout(childBounds:Rectangle = null):voidPerforms the specific layout work required by this Geometry.
ParameterschildBounds:Rectangle (default = null) — the bounds to be layed out. If not specified a rectangle
of (0,0,1,1) is used.
|
| draw | () | method |
public override function draw(graphics:Graphics, rc:Rectangle):voidParameters
graphics:Graphics |
|
rc:Rectangle |
| endDraw | () | method |
public override function endDraw(graphics:Graphics):voidParameters
graphics:Graphics |
| initFill | () | method |
public override function initFill(graphics:Graphics, rc:Rectangle):voidParameters
graphics:Graphics |
|
rc:Rectangle |
| preDraw | () | method |
public override function preDraw():void
| propertyChangeHandler | () | method |
protected override function propertyChangeHandler(event:PropertyChangeEvent):voidPrinciple event handler for any property changes to a geometry object or it's child objects.
Parametersevent:PropertyChangeEvent |