| Package | vegas.display.coverflow |
| Class | public class Cover |
| Inheritance | Cover Background CoreSprite flash.display.Sprite |
| Property | Defined By | ||
|---|---|---|---|
![]() | align : uint
The alignement of the background. | Background | |
![]() | autoSize : Boolean
Indicates if the background is resizing when the stage resize event is invoked. | Background | |
| bitmap : IBitmapDrawable
The bitmapdata of the cover. | Cover | ||
![]() | bottomLeftRadius : Number
The radius of the bottom-left corner, in pixels. | Background | |
![]() | bottomRightRadius : Number
The radius of the bottom-right corner, in pixels. | Background | |
| cover : Bitmap [read-only]
Indicates the internal cover Bitmap reference. | Cover | ||
| darkness : Number
The level of darkness of the cover in the coverflow. | Cover | ||
![]() | direction : String
Indicates the direction value of the background when the display is in this "full" mode (default value is null). | Background | |
![]() | fill : IFillStyle
Determinates the IFillStyle reference of this display. | Background | |
![]() | gradientMatrix : Matrix
The matrix value to draw the gradient fill. | Background | |
![]() | gradientRotation : Number = 0
The rotation value to draw the gradient fill. | Background | |
![]() | gradientTranslation : Point
The translation vector to draw the gradient fill. | Background | |
![]() | h : Number
Determinates the virtual height value of this component. | Background | |
![]() | isFull : Boolean
Indicates if the background use full size (use Stage.stageWidth and Stage.stageHeight to resize the background). | Background | |
![]() | line : ILineStyle
Determinates the ILineStyle reference of this display. | Background | |
![]() | logger : Logger
Determinates the internal ILogger reference of this Logable object. | CoreSprite | |
![]() | maxHeight : Number
This property defined the maximum height of this display. | Background | |
![]() | maxWidth : Number
Defines the maximum width of this display. | Background | |
![]() | minHeight : Number
This property defined the mimimun height of this display (This value is >= 0). | Background | |
![]() | minWidth : Number
This property defined the mimimun width of this display (This value is >= 0). | Background | |
| position : CoverEntry [read-only]
The CoverEntry position of the cover (use to creates a easing). | Cover | ||
| reflectionAlpha : Number
Defines the alpha value of the reflection gradient of this cover. | Cover | ||
| reflectionRatio : Number
Defines the ratio of the reflection gradient of this cover. | Cover | ||
| reflectionSize : Number
Defines the size of the reflection of this cover. | Cover | ||
| reflectionSpace : Number
Defines the space between the cover and this reflect. | Cover | ||
![]() | topLeftRadius : Number
The radius of the upper-left corner, in pixels. | Background | |
![]() | topRightRadius : Number
The radius of the upper-right corner, in pixels. | Background | |
![]() | useGradientBox : Boolean
Indicates if the IFillStyle of this display use gradient box matrix (only if the IFillStyle is a FillGradientStyle). | Background | |
![]() | w : Number
Determinates the virtual height value of this component. | Background | |
| Method | Defined By | ||
|---|---|---|---|
Cover(bitmap:IBitmapDrawable = null, init:Object = null)
Creates a new Cover instance. | Cover | ||
![]() | doLater():void
Launch an event with a delayed interval. | Background | |
![]() | draw(... arguments):void
Draw the display. | Background | |
easeSet():Boolean
Set the new easing state of this cover in the coverflow. | Cover | ||
hardSet():void
Transform the cover with the current position in the coverflow. | Cover | ||
![]() | initBackgroundPen(graphic:* = null):IPen
Init the pen to draw the background of this display. | Background | |
![]() | isLocked():Boolean
Returns true if the object is locked. | CoreSprite | |
![]() | lock():void
Locks the object. | CoreSprite | |
![]() | notifyResized():void
Notify an event when you resize the component. | Background | |
![]() | refresh(init:*):void
Refresh and initialize the display with a generic object and invoke the "update" method. | Background | |
![]() | resetLock():void
Reset the lock security of the display. | CoreSprite | |
![]() | resize(e:Event = null):void
Resize and update the background. | Background | |
![]() | setCornerRadius(n:Number):void
Defines all corner radius of the background (upper-left, upper-right, bottom-left and bottom-right). | Background | |
![]() | setSize(w:Number, h:Number):void
Sets the virtual width (w) and height (h) values of the component. | Background | |
![]() | unlock():void
Unlocks the display. | CoreSprite | |
![]() | update():void
Update the display. | Background | |
![]() | viewChanged():void
This method is invoked after the draw() method in the update() method. | Background | |
![]() | viewEnabled():void
Invoked when the enabled property of the component change. | Background | |
![]() | viewResize():void
Invoked when the component is resized. | Background | |
| bitmap | property |
bitmap:IBitmapDrawableThe bitmapdata of the cover.
public function get bitmap():IBitmapDrawable public function set bitmap(value:IBitmapDrawable):void| cover | property |
cover:Bitmap [read-only] Indicates the internal cover Bitmap reference.
public function get cover():Bitmap| darkness | property |
darkness:NumberThe level of darkness of the cover in the coverflow.
public function get darkness():Number public function set darkness(value:Number):void| position | property |
position:CoverEntry [read-only] The CoverEntry position of the cover (use to creates a easing).
public function get position():CoverEntry| reflectionAlpha | property |
reflectionAlpha:NumberDefines the alpha value of the reflection gradient of this cover.
public function get reflectionAlpha():Number public function set reflectionAlpha(value:Number):void| reflectionRatio | property |
reflectionRatio:NumberDefines the ratio of the reflection gradient of this cover.
public function get reflectionRatio():Number public function set reflectionRatio(value:Number):void| reflectionSize | property |
reflectionSize:NumberDefines the size of the reflection of this cover.
public function get reflectionSize():Number public function set reflectionSize(value:Number):void| reflectionSpace | property |
reflectionSpace:NumberDefines the space between the cover and this reflect.
public function get reflectionSpace():Number public function set reflectionSpace(value:Number):void| Cover | () | Constructor |
public function Cover(bitmap:IBitmapDrawable = null, init:Object = null)Creates a new Cover instance.
Parametersbitmap:IBitmapDrawable (default = null) — The IBitmapDrawable (BitmapData or DisplayObject) reference to create BitmapData view of the cover.
| |
init:Object (default = null) — A generic object containing properties with which to populate the newly instance. If this argument is null, it is ignored.
|
| easeSet | () | method |
public function easeSet():BooleanSet the new easing state of this cover in the coverflow.
ReturnsBoolean — true if the cover easing state is changing.
|
| hardSet | () | method |
public function hardSet():voidTransform the cover with the current position in the coverflow.