| Package | graphics.layouts |
| Class | public class CircleLayout |
| Inheritance | CircleLayout CoreLayout Object |
| Property | Defined By | ||
|---|---|---|---|
![]() | align : uint
The alignement of the layout. | CoreLayout | |
![]() | bounds : Rectangle
A rectangle that defines the area of the layout. | CoreLayout | |
| childAngle : Number
Indicates the angle value in degrees of the childs in the container. | CircleLayout | ||
| childCount : Number
Indicates the number of childs visible in this container (minimal value is 1). | CircleLayout | ||
| childOrientation : Boolean
Indicates if the childs of the container use a perpendicular tangente direction. | CircleLayout | ||
![]() | container : DisplayObjectContainer
Indicates the container reference to change with the layout. | CoreLayout | |
![]() | measuredHeight : Number
The default height of the component, in pixels. | CoreLayout | |
![]() | measuredWidth : Number
The default width of the component, in pixels. | CoreLayout | |
| radius : Number
Indicates the radius of the circle container. | CircleLayout | ||
![]() | renderer : Signaler
This signal emit before the rendering is started. | CoreLayout | |
| startAngle : Number
Indicates the value of the start angle to display all childs in the container (in degrees). | CircleLayout | ||
![]() | udpater : Signaler
This signal emit when the rendering is finished. | CoreLayout | |
| Method | Defined By | ||
|---|---|---|---|
CircleLayout(container:DisplayObjectContainer = null, init:Object = null, auto:Boolean = false)
Creates a new CircleLayout instance. | CircleLayout | ||
![]() | isLocked():Boolean
Returns true if the object is locked. | CoreLayout | |
![]() | lock():void
Locks the object. | CoreLayout | |
measure():void [override]
Calculates the default sizes and minimum and maximum values. | CircleLayout | ||
render():void [override]
Render the layout, refresh and change the position of all childs in a specific container. | CircleLayout | ||
![]() | resetLock():void
Reset the lock security of the display. | CoreLayout | |
![]() | run(... arguments):void
Run the layout (render and update). | CoreLayout | |
![]() | unlock():void
Unlocks the display. | CoreLayout | |
update():void [override]
This method is invoked when the rendering is finished to finalize the it after the measure invokation. | CircleLayout | ||
| childAngle | property |
childAngle:NumberIndicates the angle value in degrees of the childs in the container.
public function get childAngle():Number public function set childAngle(value:Number):void| childCount | property |
childCount:NumberIndicates the number of childs visible in this container (minimal value is 1).
public function get childCount():Number public function set childCount(value:Number):void| childOrientation | property |
childOrientation:BooleanIndicates if the childs of the container use a perpendicular tangente direction. Use the childAngle value to change the angle of the perpendicular childs.
public function get childOrientation():Boolean public function set childOrientation(value:Boolean):void| radius | property |
radius:NumberIndicates the radius of the circle container.
public function get radius():Number public function set radius(value:Number):void| startAngle | property |
startAngle:NumberIndicates the value of the start angle to display all childs in the container (in degrees).
public function get startAngle():Number public function set startAngle(value:Number):void| CircleLayout | () | Constructor |
public function CircleLayout(container:DisplayObjectContainer = null, init:Object = null, auto:Boolean = false)Creates a new CircleLayout instance.
Parameterscontainer:DisplayObjectContainer (default = null) — The container to layout.
| |
init:Object (default = null) — An object that contains properties with which to populate the newly layout object. If init is not an object, it is ignored.
| |
auto:Boolean (default = false) — This boolean indicates if the layout is auto running or not (default false).
|
| measure | () | method |
override public function measure():voidCalculates the default sizes and minimum and maximum values. If the Box layout's direction property is set to Direction.HORIZONTAL, its measuredWidth property is equal to the sum of default widths of all of the children in the container, plus the thickness of the borders (padding), plus the left and right padding, plus the horizontal gap between each child. The value of the measuredHeight property is the maximum of all the children's default heights, plus room for the borders and padding. If the Box layout's direction property is set to Direction.VERTICAL, these two values are reversed.
| render | () | method |
override public function render():voidRender the layout, refresh and change the position of all childs in a specific container.
| update | () | method |
override public function update():voidThis method is invoked when the rendering is finished to finalize the it after the measure invokation.