| Package | vegas.process.display |
| Class | public class SwitchBackgroundGradientColor |
| Inheritance | SwitchBackgroundGradientColor CoreTransition CoreAction Task Object |
| Property | Defined By | ||
|---|---|---|---|
| alphas : Array
The array of all alphas to change in the gradient fill. | SwitchBackgroundGradientColor | ||
| background : Background
The background reference. | SwitchBackgroundGradientColor | ||
![]() | changeIt : Signaler
This signal emit when the notifyChanged method is invoked. | CoreAction | |
![]() | clearIt : Signaler
This signal emit when the notifyCleared method is invoked. | CoreAction | |
| colors : Array
The array of all colors to change in the gradient fill. | SwitchBackgroundGradientColor | ||
| duration : Number
Sets the duration of the tweened animation in frames or seconds. | SwitchBackgroundGradientColor | ||
| easing : Function
Defines the easing method reference of this process. | SwitchBackgroundGradientColor | ||
![]() | finishIt : Signaler
This signal emit when the notifyFinished method is invoked. | Task | |
![]() | id : *
Indicates the id value of this object. | CoreTransition | |
![]() | infoIt : Signaler
This signal emit when the notifyInfo method is invoked. | CoreAction | |
![]() | logger : Logger
Determinates the internal Logger reference of this Loggable object. | Task | |
![]() | looping : Boolean
The flag to determinate if the Action object is looped. | CoreAction | |
![]() | loopIt : Signaler
This signal emit when the notifyLooped method is invoked. | CoreAction | |
![]() | pauseIt : Signaler
This signal emit when the notifyPause method is invoked. | CoreAction | |
![]() | phase : String [read-only]
The current phase of the action. | Task | |
![]() | progressIt : Signaler
This signal emit when the notifyProgress method is invoked. | CoreAction | |
| ratios : Array
The array of all ratios to change in the gradient fill. | SwitchBackgroundGradientColor | ||
![]() | resumeIt : Signaler
This signal emit when the notifyResumed method is invoked. | CoreAction | |
![]() | running : Boolean [read-only]
Indicates true if the process is in progress. | Task | |
![]() | startIt : Signaler
This signal emit when the notifyStarted method is invoked. | Task | |
![]() | stopIt : Signaler
This signal emit when the notifyStopped method is invoked. | CoreAction | |
![]() | timeoutIt : Signaler
This signal emit when the notifyTimeOut method is invoked. | CoreAction | |
| useSeconds : Boolean
Defines if the Motion used seconds or not. | SwitchBackgroundGradientColor | ||
| Method | Defined By | ||
|---|---|---|---|
SwitchBackgroundGradientColor(background:Background = null, colors:Array = null, alphas:Array = null, ratios:Array = null, easing:Function = null, duration:Number = 1, useSeconds:Boolean = true)
Creates a new SwitchBackgroundGradientColor instance. | SwitchBackgroundGradientColor | ||
clone():* [override]
Returns a shallow copy of this object. | SwitchBackgroundGradientColor | ||
![]() | equals(o:*):Boolean
Compares the specified object with this object for equality. | CoreTransition | |
interpolate(color1:Number, color2:Number, level:Number = 1):Number
Interpolate the color and returns a new RGB object. | SwitchBackgroundGradientColor | ||
![]() | isLocked():Boolean
Returns true if the object is locked. | Task | |
![]() | lock():void
Locks the object. | Task | |
![]() | notifyChanged():void
Notify when the process is changed. | CoreAction | |
![]() | notifyCleared():void
Notify when the process is cleared. | CoreAction | |
![]() | notifyFinished():void
Notify an ActionEvent when the process is finished. | Task | |
![]() | notifyInfo(info:*):void
Notify a specific information when the process is changed. | CoreAction | |
![]() | notifyLooped():void
Notify when the process is looped. | CoreAction | |
![]() | notifyPaused():void
Notify when the process is paused. | CoreAction | |
![]() | notifyProgress():void
Notify when the process is in progress. | CoreAction | |
![]() | notifyResumed():void
Notify when the process is resumed. | CoreAction | |
![]() | notifyStarted():void
Notify an ActionEvent when the process is started. | Task | |
![]() | notifyStopped():void
Notify when the process is stopped. | CoreAction | |
![]() | notifyTimeOut():void
Notify when the process is out of time. | CoreAction | |
![]() | resume():void
Resume this transition. | CoreTransition | |
run(... arguments):void [override]
Run the process. | SwitchBackgroundGradientColor | ||
start():void [override]
Starts the transition. | SwitchBackgroundGradientColor | ||
stop():void [override]
Stops the transition. | SwitchBackgroundGradientColor | ||
![]() | unlock():void
Unlocks the display. | Task | |
| alphas | property |
alphas:ArrayThe array of all alphas to change in the gradient fill.
public function get alphas():Array public function set alphas(value:Array):void| background | property |
background:BackgroundThe background reference.
public function get background():Background public function set background(value:Background):void| colors | property |
public var colors:ArrayThe array of all colors to change in the gradient fill.
| duration | property |
duration:NumberSets the duration of the tweened animation in frames or seconds.
public function get duration():Number public function set duration(value:Number):void| easing | property |
easing:FunctionDefines the easing method reference of this process.
public function get easing():Function public function set easing(value:Function):void| ratios | property |
ratios:ArrayThe array of all ratios to change in the gradient fill.
public function get ratios():Array public function set ratios(value:Array):void| useSeconds | property |
useSeconds:BooleanDefines if the Motion used seconds or not.
public function get useSeconds():Boolean public function set useSeconds(value:Boolean):void| SwitchBackgroundGradientColor | () | Constructor |
public function SwitchBackgroundGradientColor(background:Background = null, colors:Array = null, alphas:Array = null, ratios:Array = null, easing:Function = null, duration:Number = 1, useSeconds:Boolean = true)Creates a new SwitchBackgroundGradientColor instance.
Parametersbackground:Background (default = null) — The background reference to switch.
| |
colors:Array (default = null) — The array of all colors to change in the gradient fill.
| |
alphas:Array (default = null) — The array of all alphas to change in the gradient fill.
| |
ratios:Array (default = null) — The array of all ratios to change in the gradient fill.
| |
easing:Function (default = null) — The easing equation reference.
| |
duration:Number (default = 1) — A number indicating the length of time or number of frames for the tween motion.
| |
useSeconds:Boolean (default = true) — Indicates if the duration is in seconds.
|
| clone | () | method |
override public function clone():*Returns a shallow copy of this object.
Returns* — a shallow copy of this object.
|
| interpolate | () | method |
public function interpolate(color1:Number, color2:Number, level:Number = 1):NumberInterpolate the color and returns a new RGB object.
Parameters
color1:Number — The RGB reference used to interpolate the current RGB object.
| |
color2:Number — The level of the interpolation as a decimal, where 0 is the start and 1 is the end.
| |
level:Number (default = 1) |
Number — The interpolate RGB reference of the current color.
|
| run | () | method |
override public function run(... arguments):voidRun the process.
Parameters
... arguments |
| start | () | method |
override public function start():voidStarts the transition.
| stop | () | method |
override public function stop():voidStops the transition.