| Package | com.degrafa.geometry |
| Class | public class PolygonLibrary |
| Inheritance | PolygonLibrary Polygon Geometry DegrafaObject |
| Property | Defined by | ||
|---|---|---|---|
![]() | autoClearGraphicsTarget : Boolean
When using a graphicsTarget and if this property is set to true
the draw phase will clear the graphics context before drawing.
| Geometry | |
![]() | bounds : Rectangle
The tight bounds of this element as represented by a Rectangle object.
| Polygon | |
| derive : Polygon
[write-only]
| PolygonLibrary | ||
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
![]() | fill : IGraphicsFill
Defines the fill object that will be used for
rendering this geometry object.
| Geometry | |
![]() | geometry : Array
A array of IGeometryComposition objects.
| Geometry | |
![]() | geometryCollection : GeometryCollection
Access to the Degrafa geometry collection object for this geometry object.
| Geometry | |
![]() | graphicsTarget : Array
One or more display object's that this Geometry is to be drawn to.
| Geometry | |
![]() | graphicsTargetCollection : DisplayObjectCollection
Access to the Degrafa target collection object for this geometry object.
| Geometry | |
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| DegrafaObject | |
| height : Number
The height of the object.
| PolygonLibrary | ||
![]() | id : String
The identifier used by document to refer to this object.
| DegrafaObject | |
![]() | invalidated : Boolean
Specifies whether this object is to be re calculated
on the next cycle.
| Geometry | |
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
![]() | pointCollection : GraphicPointCollection
Access to the Degrafa point collection object for this polyline.
| Polygon | |
![]() | points : Array
A array of points that describe this polygon.
| Polygon | |
| shapeList : Array [read-only]
Stores an array of objects that is a list of available shapes for this library.
| PolygonLibrary | ||
![]() | state : String
The state at which to draw this object
| Geometry | |
![]() | stateEvent : String
The state event at which to draw this object
| Geometry | |
![]() | stroke : IGraphicsStroke
Defines the stroke object that will be used for
rendering this geometry object.
| Geometry | |
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| type : String
Sets the type of object to be rendered.
| PolygonLibrary | ||
| width : Number
The width of the object.
| PolygonLibrary | ||
![]() | x : Number
The x-coordinate of the upper left point to begin drawing from.
| Polygon | |
![]() | y : Number
The y-coordinate of the upper left point to begin drawing from.
| Polygon | |
| Property | Defined by | ||
|---|---|---|---|
![]() | commandStack : Array
An Array of flash rendering commands that make up this element.
| Polygon | |
![]() | eventDispatcher : EventDispatcher
EventDispatcher instance for this object.
| DegrafaObject | |
| _shapeList : Array | PolygonLibrary | ||
| Method | Defined by | ||
|---|---|---|---|
| PolygonLibrary | |||
![]() |
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 | |
![]() |
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.
| Polygon | |
![]() |
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
| Geometry | |
![]() |
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
| PolygonLibrary | ||
![]() |
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 | |
| Method | Defined by | ||
|---|---|---|---|
|
constToPointStruc(value:String):void
| PolygonLibrary | ||
| derive | property |
derive:Polygon [write-only]This property can be used as the source for data binding.
Implementation public function set derive(value:Polygon):void
| height | property |
height:Number [read-write]The height of the object. If not specified a default value of 0 is used.
This property can be used as the source for data binding.
Implementation public function get height():Number
public function set height(value:Number):void
| _shapeList | property |
protected var _shapeList:Array
| shapeList | property |
shapeList:Array [read-only]Stores an array of objects that is a list of available shapes for this library.
This property can be used as the source for data binding.
Implementation public function get shapeList():Array
| type | property |
type:String [read-write]Sets the type of object to be rendered.
This property can be used as the source for data binding.
Implementation public function get type():String
public function set type(value:String):void
| width | property |
width:Number [read-write]The width of the object. If not specified a default value of 0 is used.
This property can be used as the source for data binding.
Implementation public function get width():Number
public function set width(value:Number):void
| PolygonLibrary | () | constructor |
public function PolygonLibrary()
| constToPointStruc | () | method |
protected function constToPointStruc(value:String):voidParameters
value:String |
| preDraw | () | method |
public override function preDraw():void