| Package | com.degrafa |
| Class | public class GeometryGroup |
| Inheritance | GeometryGroup Graphic flash.display.Sprite |
| Implements | IGeometry, IGraphic |
Default MXML Propertygeometry
| Property | Defined by | ||
|---|---|---|---|
| data : String | GeometryGroup | ||
![]() | document : Object
The MXML document that created this object.
| Graphic | |
![]() | enableEvents : Boolean
Enable events for this object.
| Graphic | |
![]() | fill : IGraphicsFill
Defines the fill object that will be used for
rendering this graphic object.
| Graphic | |
![]() | fillCollection : FillCollection
Access to the Degrafa fill collection object for this graphic object.
| Graphic | |
![]() | fills : Array
A array of IGraphicsFill objects.
| Graphic | |
| geometry : Array
A array of IGeometry objects.
| GeometryGroup | ||
| geometryCollection : GeometryCollection
[read-only]
Access to the Degrafa geometry collection object for this graphic object.
| GeometryGroup | ||
![]() | hasEventManager : Boolean
Tests to see if a EventDispatcher instance has been created for this object.
| Graphic | |
![]() | height : Number
Number that specifies the height, in pixels, in the target's coordinates.
| Graphic | |
![]() | id : String
The identifier used by document to refer to this object.
| Graphic | |
![]() | measuredHeight : Number
The default height, in pixels.
| Graphic | |
![]() | measuredWidth : Number
The default width, in pixels.
| Graphic | |
![]() | percentHeight : Number
Number that specifies the height as a percentage of the target.
| Graphic | |
![]() | percentWidth : Number
Number that specifies the width as a percentage of the target.
| Graphic | |
![]() | stroke : IGraphicsStroke
Defines the stroke object that will be used for
rendering this graphic object.
| Graphic | |
![]() | strokeCollection : StrokeCollection
Access to the Degrafa stroke collection object for this graphic object.
| Graphic | |
![]() | strokes : Array
A array of IStroke objects.
| Graphic | |
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| Graphic | |
![]() | target : DisplayObjectContainer
A target DisplayObjectContainer that this graphic object should be added or drawn to.
| Graphic | |
![]() | width : Number
Number that specifies the width, in pixels, in the target's coordinates.
| Graphic | |
![]() | x : Number
Number that specifies the horizontal position, in pixels, within the target.
| Graphic | |
![]() | y : Number
Number that specifies the vertical position, in pixels, within the target.
| Graphic | |
| Method | Defined by | ||
|---|---|---|---|
| GeometryGroup | |||
![]() |
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
| Graphic | |
![]() |
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.
| Graphic | |
|
draw(graphics:Graphics, rc:Rectangle):void
Begins the draw phase for graphic objects.
| GeometryGroup | ||
![]() |
endDraw(graphics:Graphics):void
Ends the draw phase for geometry objects.
| Graphic | |
![]() |
initChange(property:String, oldValue:Object, newValue:Object, source:Object):void
Helper function for dispatching property changes
| Graphic | |
![]() |
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.
| Graphic | |
| data | property |
data:String [read-write]This property can be used as the source for data binding.
Implementation public function get data():String
public function set data(value:String):void
| geometry | property |
geometry:Array [read-write]A array of IGeometry objects. Objects of type GraphicText, GraphicImage and GeometryGroup are added to the target display list.
This property can be used as the source for data binding.
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 graphic object.
This property can be used as the source for data binding.
Implementation public function get geometryCollection():GeometryCollection
| GeometryGroup | () | constructor |
public function GeometryGroup()
| draw | () | method |
public override function draw(graphics:Graphics, rc:Rectangle):voidBegins the draw phase for graphic objects. All graphic 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.
|