패키지 | spark.effects.interpolation |
인터페이스 | public interface IInterpolator |
구현자 | HSBInterpolator, MultiValueInterpolator, NumberInterpolator, RGBInterpolator |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
메서드 | 정의 주체 | ||
---|---|---|---|
Given a base value and a value to subtract from it,
return the result of that decrement operation. | IInterpolator | ||
Given a base value and a value to add to it,
return the result of that operation. | IInterpolator | ||
Given an elapsed fraction of an animation, between 0.0 and 1.0,
and start and end values to interpolate, return the interpolated value. | IInterpolator |
decrement | () | 메서드 |
public function decrement(baseValue:Object, decrementValue:Object):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | 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.
매개 변수
baseValue:Object — The start value of the interpolation.
| |
decrementValue:Object — The change to apply to the baseValue .
|
Object — The interpolated value.
|
increment | () | 메서드 |
public function increment(baseValue:Object, incrementValue:Object):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | 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.
매개 변수
baseValue:Object — The start value of the interpolation.
| |
incrementValue:Object — The change to apply to the baseValue .
|
Object — The interpolated value.
|
interpolate | () | 메서드 |
public function interpolate(fraction:Number, startValue:Object, endValue:Object):Object
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | 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.
매개 변수
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.
|
Tue Jun 12 2018, 03:17 PM Z