| Package | com.degrafa.geometry.segment |
| Class | public class EllipticalArcTo |
| Inheritance | EllipticalArcTo Segment DegrafaObject |
| Implements | ISegment |
See also
| Property | Defined by | ||
|---|---|---|---|
| bounds : Rectangle [read-only]
The tight bounds of this segment as represented by a Rectangle object.
| EllipticalArcTo | ||
![]() | coordinateType : String | Segment | |
| data : String
EllipticalArcTo short hand data value.
| EllipticalArcTo | ||
![]() | document : Object
The MXML document that created this object.
| DegrafaObject | |
![]() | enableEvents : Boolean
Enable events for this object.
| DegrafaObject | |
![]() | 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 | |
![]() | invalidated : Boolean
Specifies whether this object is to be re calculated
on the next cycle.
| Segment | |
| largeArcFlag : Number
A value indicating if the arc is to use a large arc.
| EllipticalArcTo | ||
![]() | name : String
The name that refers to this object.
| DegrafaObject | |
| rx : Number
The x-coordinate radius of the arc.
| EllipticalArcTo | ||
| ry : Number
The y-coordinate radius of the arc.
| EllipticalArcTo | ||
| segmentType : String [read-only]
Return the segment type
| EllipticalArcTo | ||
![]() | suppressEventProcessing : Boolean
Temporarily suppress event processing for this object.
| DegrafaObject | |
| sweepFlag : Number
A value indicating if the arc is to use a sweep.
| EllipticalArcTo | ||
| x : Number
The x-coordinate of the end point of the arc.
| EllipticalArcTo | ||
| xAxisRotation : Number
The x axis rotation of the arc.
| EllipticalArcTo | ||
| y : Number
The y-coordinate of the end point of the arc.
| EllipticalArcTo | ||
| Property | Defined by | ||
|---|---|---|---|
| commandStack : Array
An Array of flash rendering commands that make up this element.
| EllipticalArcTo | ||
![]() | eventDispatcher : EventDispatcher
EventDispatcher instance for this object.
| DegrafaObject | |
| Method | Defined by | ||
|---|---|---|---|
|
EllipticalArcTo(rx:Number = 0, ry:Number = 0, xAxisRotation:Number = 0, largeArcFlag:Number = 0, sweepFlag:Number = 0, x:Number = 0, y:Number = 0, data:String = null, coordinateType:String = "absolute")
Constructor.
| EllipticalArcTo | ||
![]() |
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 | |
|
computeSegment(lastPoint:Point, absRelOffset:Point, commandStack:Array):void
Compute the segment adding instructions to the command stack.
| EllipticalArcTo | ||
![]() |
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 | |
![]() |
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.
| EllipticalArcTo | ||
![]() |
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 segment as represented by a Rectangle object.
This property can be used as the source for data binding.
Implementation public function get bounds():Rectangle
| commandStack | property |
protected var commandStack:ArrayAn Array of flash rendering commands that make up this element.
| data | property |
data:String [read-write]EllipticalArcTo short hand data value.
The elliptical arc to data property expects exactly 7 values rx, ry, xAxisRotation, largeArcFlag, sweepFlag, x and y separated by spaces.
This property can be used as the source for data binding.
Implementation public function get data():String
public function set data(value:String):void
See also
| largeArcFlag | property |
largeArcFlag:Number [read-write]A value indicating if the arc is to use a large arc. A value of 0 = true and a value of 1 = false see
This property can be used as the source for data binding.
Implementation public function get largeArcFlag():Number
public function set largeArcFlag(value:Number):void
| rx | property |
rx:Number [read-write]The x-coordinate radius of the 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 rx():Number
public function set rx(value:Number):void
| ry | property |
ry:Number [read-write]The y-coordinate radius of the 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 ry():Number
public function set ry(value:Number):void
| segmentType | property |
segmentType:String [read-only]Return the segment type
This property can be used as the source for data binding.
Implementation public function get segmentType():String
| sweepFlag | property |
sweepFlag:Number [read-write]A value indicating if the arc is to use a sweep. A value of 0 = true and a value of 1 = false see
This property can be used as the source for data binding.
Implementation public function get sweepFlag():Number
public function set sweepFlag(value:Number):void
| x | property |
x:Number [read-write]The x-coordinate of the end point of the 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
| xAxisRotation | property |
xAxisRotation:Number [read-write]The x axis rotation of the 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 xAxisRotation():Number
public function set xAxisRotation(value:Number):void
| y | property |
y:Number [read-write]The y-coordinate of the end point of the 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
| EllipticalArcTo | () | constructor |
public function EllipticalArcTo(rx:Number = 0, ry:Number = 0, xAxisRotation:Number = 0, largeArcFlag:Number = 0, sweepFlag:Number = 0, x:Number = 0, y:Number = 0, data:String = null, coordinateType:String = "absolute")Constructor.
The EllipticalArcTo constructor accepts 9 optional arguments that define it's data, properties and a coordinate type.
Parametersrx:Number (default = 0) — A number indicating the x-coordinate radius of the arc.
|
|
ry:Number (default = 0) — A number indicating the y-coordinate radius of the arc..
|
|
xAxisRotation:Number (default = 0) — A number indicating the x axis rotation of the arc.
|
|
largeArcFlag:Number (default = 0) — A number indicating if the arc is to use a large arc.
|
|
sweepFlag:Number (default = 0) — A number indicating if the arc is to use a sweep.
|
|
x:Number (default = 0) — A number indicating the x-coordinate of the end point of the arc.
|
|
y:Number (default = 0) — A number indicating the y-coordinate of the end point of the arc.
|
|
data:String (default = null) — A string indicating the data to be used for this segment.
|
|
coordinateType:String (default = "absolute") — A string indicating the coordinate type to be used for this segment.
|
| computeSegment | () | method |
public function computeSegment(lastPoint:Point, absRelOffset:Point, commandStack:Array):voidCompute the segment adding instructions to the command stack.
ParameterslastPoint:Point |
|
absRelOffset:Point |
|
commandStack:Array |
| 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.