| Package | ardisia.layouts |
| Class | public class TimeMachineLayout |
| Inheritance | TimeMachineLayout spark.layouts.supportClasses.LayoutBase |
View the technical documentation on the Ardisia Labs website for more information.
| Property | Defined By | ||
|---|---|---|---|
| alphaFrom : Number
The alpha value for the centered, lowest z value element. | TimeMachineLayout | ||
| alphaTo : Number
The alpha value for elements at the highest possible z value. | TimeMachineLayout | ||
| centerOffsetX : Number
The horizontal offset from the center at which the elements are
displayed. | TimeMachineLayout | ||
| centerOffsetY : Number
The vertical offset from the center at which the elements are displayed. | TimeMachineLayout | ||
| fieldOfView : Number
The field of view to apply to the perspective projection on the target. | TimeMachineLayout | ||
| maxDisplayedElements : int
The maximum number of elements to display. | TimeMachineLayout | ||
| perspectiveProjectionCenterOffsetX : Number
The x offset from the center to apply the perspective projection. | TimeMachineLayout | ||
| perspectiveProjectionCenterOffsetY : Number
The y offset from the center to apply the perspective projection. | TimeMachineLayout | ||
| rotationX : Number
The x rotation to apply to the elements. | TimeMachineLayout | ||
| rotationY : Number
The y rotation to apply to the elements. | TimeMachineLayout | ||
| rotationZ : Number
The z rotation to apply to all of the elements. | TimeMachineLayout | ||
| zScrollPosition : Number
The current z offset distance. | TimeMachineLayout | ||
| zSeparation : Number
The separation between elements on the z axis. | TimeMachineLayout | ||
| Method | Defined By | ||
|---|---|---|---|
getScrollPositionToElement(index:int):Number
Return the zScrollPosition to display the passed element index. | TimeMachineLayout | ||
| alphaFrom | property |
alphaFrom:NumberThe alpha value for the centered, lowest z value element.
The default value is 1.
public function get alphaFrom():Number public function set alphaFrom(value:Number):void| alphaTo | property |
alphaTo:NumberThe alpha value for elements at the highest possible z value.
The default value is 1.
public function get alphaTo():Number public function set alphaTo(value:Number):void| centerOffsetX | property |
centerOffsetX:NumberThe horizontal offset from the center at which the elements are displayed.
The default value is 0.
public function get centerOffsetX():Number public function set centerOffsetX(value:Number):void| centerOffsetY | property |
centerOffsetY:NumberThe vertical offset from the center at which the elements are displayed.
The default value is 0.
public function get centerOffsetY():Number public function set centerOffsetY(value:Number):void| fieldOfView | property |
fieldOfView:NumberThe field of view to apply to the perspective projection on the target.
The default value is 55.
public function get fieldOfView():Number public function set fieldOfView(value:Number):void| maxDisplayedElements | property |
maxDisplayedElements:intThe maximum number of elements to display.
The default value is 10.
public function get maxDisplayedElements():int public function set maxDisplayedElements(value:int):void| perspectiveProjectionCenterOffsetX | property |
perspectiveProjectionCenterOffsetX:NumberThe x offset from the center to apply the perspective projection.
The default value is 0.
public function get perspectiveProjectionCenterOffsetX():Number public function set perspectiveProjectionCenterOffsetX(value:Number):void| perspectiveProjectionCenterOffsetY | property |
perspectiveProjectionCenterOffsetY:NumberThe y offset from the center to apply the perspective projection.
The default value is 0.
public function get perspectiveProjectionCenterOffsetY():Number public function set perspectiveProjectionCenterOffsetY(value:Number):void| rotationX | property |
rotationX:NumberThe x rotation to apply to the elements.
The default value is 0.
public function get rotationX():Number public function set rotationX(value:Number):void| rotationY | property |
rotationY:NumberThe y rotation to apply to the elements.
The default value is 0.
public function get rotationY():Number public function set rotationY(value:Number):void| rotationZ | property |
rotationZ:NumberThe z rotation to apply to all of the elements.
The default value is 0.
public function get rotationZ():Number public function set rotationZ(value:Number):void| zScrollPosition | property |
zScrollPosition:NumberThe current z offset distance.
Think of this property as the scrollable property and this property is iterated during animations.
The default value is 0.
public function get zScrollPosition():Number public function set zScrollPosition(value:Number):void| zSeparation | property |
zSeparation:NumberThe separation between elements on the z axis. Must be greater than 0.
The default value is 100.
public function get zSeparation():Number public function set zSeparation(value:Number):void| getScrollPositionToElement | () | method |
public function getScrollPositionToElement(index:int):NumberReturn the zScrollPosition to display the passed element index.
Parameters
index:int — the int of the element to return the zScrollPosition for
|
Number — a Number for the zScrollPosition
|