| Package | com.degrafa.geometry.repeaters |
| Class | public class EllipticalArcRepeater |
| Inheritance | EllipticalArcRepeater Repeater Geometry DegrafaObject |
See also
| Property | Defined by | ||
|---|---|---|---|
| arc : Number
The angular extent of the first arc, relative to the start angle.
| EllipticalArcRepeater | ||
![]() | 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 [read-only]
The tight bounds of this element as represented by a Rectangle object.
| EllipticalArcRepeater | ||
| closureType : String | EllipticalArcRepeater | ||
![]() | count : Number
The number of times to repeat the geometry.
| Repeater | |
| data : String [write-only]
EllipticalArcRepeater short hand data value.
| EllipticalArcRepeater | ||
![]() | 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 first arc.
| EllipticalArcRepeater | ||
![]() | 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 | |
| offsetArc : Number
The arc offset of each repeated arc.
| EllipticalArcRepeater | ||
| offsetHeight : Number
The height offset of each repeated arc.
| EllipticalArcRepeater | ||
| offsetStartAngle : Number
The starting angle offset of each repeated arc.
| EllipticalArcRepeater | ||
| offsetWidth : Number
The width offset of each repeated arc.
| EllipticalArcRepeater | ||
![]() | offsetX : Number
The offset of the x-axis of each geometry object.
| Repeater | |
![]() | offsetY : Number
The offset of the y-axis of each geometry object.
| Repeater | |
| startAngle : Number
The starting angle of the first arc.
| EllipticalArcRepeater | ||
![]() | 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 | |
| width : Number
The width of the first arc.
| EllipticalArcRepeater | ||
| x : Number
The upper left x-axis coordinate of the first arc.
| EllipticalArcRepeater | ||
| y : Number
The upper left y-axis coordinate of the first arc.
| EllipticalArcRepeater | ||
| Property | Defined by | ||
|---|---|---|---|
![]() | eventDispatcher : EventDispatcher
EventDispatcher instance for this object.
| DegrafaObject | |
| objectStack : Array
An Array of geometry objects that make up this repeater.
| EllipticalArcRepeater | ||
| Method | Defined by | ||
|---|---|---|---|
|
EllipticalArcRepeater(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, startAngle:Number = 0, arc:Number = 0, closureType:String = "open", count:Number = 0, offsetX:Number = 0, offsetY:Number = 0, offsetWidth:Number = 0, offsetHeight:Number = 0, offsetStartAngle:Number = 0, offsetArc:Number = 0)
Constructor.
| EllipticalArcRepeater | ||
![]() |
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.
| EllipticalArcRepeater | ||
![]() |
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
Performs any pre calculation that is required to successfully render
this element.
| EllipticalArcRepeater | ||
![]() |
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 | |
| arc | property |
arc:Number [read-write]The angular extent of the first arc, relative to the start angle. 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 arc():Number
public function set arc(value:Number):void
| bounds | property |
bounds:Rectangle [read-only]The tight bounds of this element as represented by a Rectangle object.
This property can be used as the source for data binding.
Implementation public function get bounds():Rectangle
| closureType | property |
closureType:String [read-write]This property can be used as the source for data binding.
Implementation public function get closureType():String
public function set closureType(value:String):void
| data | property |
data:String [write-only]EllipticalArcRepeater short hand data value.
The Elliptical Arc Repeater data property expects exactly 6 values x, y, width, height, startAngle, arc and closureType separated by spaces.
This property can be used as the source for data binding.
Implementation public function set data(value:String):void
See also
| height | property |
height:Number [read-write]The height of the first arc. 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
| objectStack | property |
protected var objectStack:ArrayAn Array of geometry objects that make up this repeater.
| offsetArc | property |
offsetArc:Number [read-write]The arc offset of each repeated arc. 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 offsetArc():Number
public function set offsetArc(value:Number):void
| offsetHeight | property |
offsetHeight:Number [read-write]The height offset of each repeated arc. 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 offsetHeight():Number
public function set offsetHeight(value:Number):void
| offsetStartAngle | property |
offsetStartAngle:Number [read-write]The starting angle offset of each repeated arc. 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 offsetStartAngle():Number
public function set offsetStartAngle(value:Number):void
| offsetWidth | property |
offsetWidth:Number [read-write]The width offset of each repeated arc. 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 offsetWidth():Number
public function set offsetWidth(value:Number):void
| startAngle | property |
startAngle:Number [read-write]The starting angle of the first arc. 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 startAngle():Number
public function set startAngle(value:Number):void
| width | property |
width:Number [read-write]The width of the first arc. 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
| x | property |
x:Number [read-write]The upper left x-axis coordinate of the first arc. 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 x():Number
public function set x(value:Number):void
| y | property |
y:Number [read-write]The upper left y-axis coordinate of the first arc. 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 y():Number
public function set y(value:Number):void
| EllipticalArcRepeater | () | constructor |
public function EllipticalArcRepeater(x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, startAngle:Number = 0, arc:Number = 0, closureType:String = "open", count:Number = 0, offsetX:Number = 0, offsetY:Number = 0, offsetWidth:Number = 0, offsetHeight:Number = 0, offsetStartAngle:Number = 0, offsetArc:Number = 0)Constructor.
The Elliptical Arc Repeater constructor accepts 14 optional arguments that define it's x, y, width, height, start angle, arc and closure type.
Parametersx:Number (default = 0) — A number indicating the upper left x-axis coordinate.
|
|
y:Number (default = 0) — A number indicating the upper left y-axis coordinate.
|
|
width:Number (default = 0) — A number indicating the width.
|
|
height:Number (default = 0) — A number indicating the height.
|
|
startAngle:Number (default = 0) — A number indicating the beginning angle of the arc.
|
|
arc:Number (default = 0) — A number indicating the angular extent of the arc, relative to the start angle.
|
|
closureType:String (default = "open") — A string indicating the method used to close the arc.
|
|
count:Number (default = 0) — A number indicating the repeat count of arcs.
|
|
offsetX:Number (default = 0) — A number indicating the starting x-axis coordinate offset of each arc repeated.
|
|
offsetY:Number (default = 0) — A number indicating the starting y-axis coordinate offset of each arc repeated.
|
|
offsetWidth:Number (default = 0) — A number indicating the width offset of each arc repeated.
|
|
offsetHeight:Number (default = 0) — A number indicating the height offset of each arc repeated.
|
|
offsetStartAngle:Number (default = 0) — A number indicating the starting angle offset of each arc repeated.
|
|
offsetArc:Number (default = 0) — A number indicating the offset of each arc repeated.
|
| draw | () | method |
public override 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.
|
| preDraw | () | method |
public override function preDraw():voidPerforms any pre calculation that is required to successfully render this element. Including bounds calculations and lower level drawing command storage. Each geometry object overrides this and is responsible for it's own pre calculation cycle.