Pakket | spark.effects.interpolation |
Klasse | public class MultiValueInterpolator |
Overerving | MultiValueInterpolator Object |
Implementatie | IInterpolator |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 10, AIR 1.5 |
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
elementInterpolator : IInterpolator
The interpolator for each element of the input Array or Vector. | MultiValueInterpolator |
Methode | Gedefinieerd door | ||
---|---|---|---|
MultiValueInterpolator(elementInterpolator:IInterpolator = null)
Constructor. | MultiValueInterpolator | ||
Given a base value and a value to subtract from it,
return the result of that decrement operation. | MultiValueInterpolator | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Given a base value and a value to add to it,
return the result of that operation. | MultiValueInterpolator | ||
Given an elapsed fraction of an animation, between 0.0 and 1.0,
and start and end values to interpolate, return the interpolated value. | MultiValueInterpolator | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
elementInterpolator | eigenschap |
elementInterpolator:IInterpolator
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 10, AIR 1.5 |
The interpolator for each element of the input Array or Vector. A value of null specifies to use the NumberInterpolator class.
De standaardwaarde is NumberInterpolator.
Implementatie
public function get elementInterpolator():IInterpolator
public function set elementInterpolator(value:IInterpolator):void
MultiValueInterpolator | () | Constructor |
public function MultiValueInterpolator(elementInterpolator:IInterpolator = null)
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 10, AIR 1.5 |
Constructor.
ParameterselementInterpolator:IInterpolator (default = null ) — The interpolator for each element
of the Array.
If no interpolator is specified, use the NumberInterpolator class.
|
decrement | () | methode |
public function decrement(baseValue:Object, decrementValue:Object):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 10, AIR 1.5 |
Given a base value and a value to subtract from it,
return the result of that decrement operation. For example,
if the objects are simple Numbers, the result would be
Number(baseValue) - Number(incrementValue)
.
This function is called by the animation system when it
needs to dynamically calculate a value given some ending
value and a 'by' value that should be subtracted from it. Both of
the arguments are of type Object and cannot simply be added together.
Parameters
baseValue:Object — The start value of the interpolation.
| |
decrementValue:Object — The change to apply to the baseValue .
|
Object — The interpolated value.
|
increment | () | methode |
public function increment(baseValue:Object, incrementValue:Object):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 10, AIR 1.5 |
Given a base value and a value to add to it,
return the result of that operation.
For example, if the objects are simple Numbers, the result is a
Number(baseValue) + Number(incrementValue)
.
This method is called by the animation system when it
needs to dynamically calculate a value given some starting
value and a 'by' value that should be added to it. Both of
the arguments are of type Object and cannot simply be added together.
Parameters
baseValue:Object — The start value of the interpolation.
| |
incrementValue:Object — The change to apply to the baseValue .
|
Object — The interpolated value.
|
interpolate | () | methode |
public function interpolate(fraction:Number, startValue:Object, endValue:Object):Object
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 4 |
Runtimeversies: | Flash Player 10, AIR 1.5 |
Given an elapsed fraction of an animation, between 0.0 and 1.0, and start and end values to interpolate, return the interpolated value. Interpolation for MultiValueInterpolator consists of running a separate interpolation on each element of the startValue and endValue arrays or vectors, returning a new Array or Vector that holds those interpolated values. The returned object will be an Array if startValue and endValue are of type Array, otherwise the returned object will be of type Vector.
Parameters
fraction:Number — The fraction elapsed of the
animation, between 0.0 and 1.0.
| |
startValue:Object — The start value of the interpolation.
| |
endValue:Object — The end value of the interpolation.
|
Object — The interpolated value.
|
Wed Jun 13 2018, 11:42 AM Z