패키지 | spark.effects.interpolation |
클래스 | public class MultiValueInterpolator |
상속 | MultiValueInterpolator Object |
구현 | IInterpolator |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
속성 | 정의 주체 | ||
---|---|---|---|
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
elementInterpolator : IInterpolator
The interpolator for each element of the input Array or Vector. | MultiValueInterpolator |
메서드 | 정의 주체 | ||
---|---|---|---|
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 | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | 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 | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
elementInterpolator | 속성 |
elementInterpolator:IInterpolator
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | 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.
기본값: NumberInterpolator.
구현
public function get elementInterpolator():IInterpolator
public function set elementInterpolator(value:IInterpolator):void
MultiValueInterpolator | () | 생성자 |
public function MultiValueInterpolator(elementInterpolator:IInterpolator = null)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Constructor.
매개 변수elementInterpolator:IInterpolator (default = null ) — The interpolator for each element
of the Array.
If no interpolator is specified, use the NumberInterpolator class.
|
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. 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.
매개 변수
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