Packageardisia.layouts
Classpublic class CoverflowLayout
InheritanceCoverflowLayout Inheritance spark.layouts.supportClasses.LayoutBase

Lays out elements in a coverflow pattern.

The "xSeparation" property controls how far apart the elements are placed. The width of the elements is not relevant to the horizontal gap between elements. In other words, the gap is the "xSeparation" property.

View the technical documentation on the Ardisia Labs website for more information.



Public Properties
 PropertyDefined By
  alphaFrom : Number
The alpha value for the centered, lowest z value element.
CoverflowLayout
  alphaTo : Number
The alpha value for elements at the highest possible z value.
CoverflowLayout
  centerOffsetY : Number
The vertical offset from the center where the renderers are displayed.
CoverflowLayout
  fieldOfView : Number
The field of view to apply to the perspective projection on the target.
CoverflowLayout
  perspectiveProjectionCenterOffsetX : Number
The x offset from the center to apply the perspective projection.
CoverflowLayout
  perspectiveProjectionCenterOffsetY : Number
The y offset from the center to apply the perspective projection.
CoverflowLayout
  rotationX : Number
The x rotation to apply to the elements, except for the centered renderer.
CoverflowLayout
  rotationY : Number
The y rotation to apply to the non-centered elements in the coverflow.
CoverflowLayout
  rotationZ : Number
The z rotation to apply to all of the elements, except for the centered renderer.
CoverflowLayout
  xSeparation : Number
The number of pixels between each renderer.
CoverflowLayout
  zOffset : Number
The z axis offset from the center renderer to the other renderers.
CoverflowLayout
Property Detail
alphaFromproperty
alphaFrom:Number

The alpha value for the centered, lowest z value element.

The default value is 1.


Implementation
    public function get alphaFrom():Number
    public function set alphaFrom(value:Number):void
alphaToproperty 
alphaTo:Number

The alpha value for elements at the highest possible z value.

The default value is 1.


Implementation
    public function get alphaTo():Number
    public function set alphaTo(value:Number):void
centerOffsetYproperty 
centerOffsetY:Number

The vertical offset from the center where the renderers are displayed.

The default value is 0.


Implementation
    public function get centerOffsetY():Number
    public function set centerOffsetY(value:Number):void
fieldOfViewproperty 
fieldOfView:Number

The field of view to apply to the perspective projection on the target.

The default value is 55.


Implementation
    public function get fieldOfView():Number
    public function set fieldOfView(value:Number):void
perspectiveProjectionCenterOffsetXproperty 
perspectiveProjectionCenterOffsetX:Number

The x offset from the center to apply the perspective projection.

The default value is 0.


Implementation
    public function get perspectiveProjectionCenterOffsetX():Number
    public function set perspectiveProjectionCenterOffsetX(value:Number):void
perspectiveProjectionCenterOffsetYproperty 
perspectiveProjectionCenterOffsetY:Number

The y offset from the center to apply the perspective projection.

The default value is 0.


Implementation
    public function get perspectiveProjectionCenterOffsetY():Number
    public function set perspectiveProjectionCenterOffsetY(value:Number):void
rotationXproperty 
rotationX:Number

The x rotation to apply to the elements, except for the centered renderer.

The default value is 0.


Implementation
    public function get rotationX():Number
    public function set rotationX(value:Number):void
rotationYproperty 
rotationY:Number

The y rotation to apply to the non-centered elements in the coverflow.

The default value is 45.


Implementation
    public function get rotationY():Number
    public function set rotationY(value:Number):void
rotationZproperty 
rotationZ:Number

The z rotation to apply to all of the elements, except for the centered renderer.

The default value is 0.


Implementation
    public function get rotationZ():Number
    public function set rotationZ(value:Number):void
xSeparationproperty 
xSeparation:Number

The number of pixels between each renderer. Must be greater than or equal to 1.

The default value is 50.


Implementation
    public function get xSeparation():Number
    public function set xSeparation(value:Number):void
zOffsetproperty 
zOffset:Number

The z axis offset from the center renderer to the other renderers.

The default value is 200.


Implementation
    public function get zOffset():Number
    public function set zOffset(value:Number):void