패키지 | spark.effects.easing |
클래스 | public class EaseInOutBase |
상속 | EaseInOutBase Object |
구현 | IEaser |
하위 클래스 | Power, Sine |
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The <s:EaseInOutBase>
tag
inherits all of the tag attributes of its of its superclass,
and adds the following tag attributes:
<s:EaseInOutBase id="ID" easeInFraction="0.5" />
속성 | 정의 주체 | ||
---|---|---|---|
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
easeInFraction : Number
The percentage of an animation that should be spent accelerating. | EaseInOutBase |
메서드 | 정의 주체 | ||
---|---|---|---|
EaseInOutBase(easeInFraction:Number = NaN)
Constructor. | EaseInOutBase | ||
Takes the fraction representing the elapsed duration of an animation
(a value between 0.0 to 1.0) and returns a new elapsed value. | EaseInOutBase | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object |
메서드 | 정의 주체 | ||
---|---|---|---|
Returns a value that represents the eased fraction during the
ease in phase of the animation. | EaseInOutBase | ||
Returns a value that represents the eased fraction during the
ease out phase of the animation. | EaseInOutBase |
easeInFraction | 속성 |
easeInFraction:Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
The percentage of an animation that should be spent accelerating.
This factor sets an implicit
"easeOut" parameter, equal to (1 - easeIn
), so that any time not
spent easing in is spent easing out. For example, to have an easing
equation that spends half the time easing in and half easing out,
set easeIn
to .5.
Valid values are between 0.0 and 1.0.
기본값: .5.
구현
public function get easeInFraction():Number
public function set easeInFraction(value:Number):void
EaseInOutBase | () | 생성자 |
public function EaseInOutBase(easeInFraction:Number = NaN)
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Constructor.
매개 변수easeInFraction:Number (default = NaN ) — Sets the value of
the easeInFraction property. The default value is
EasingFraction.IN_OUT , which eases in for the first half
of the time and eases out for the remainder.
|
ease | () | 메서드 |
public function ease(fraction:Number):Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Takes the fraction representing the elapsed duration of an animation
(a value between 0.0 to 1.0) and returns a new elapsed value.
This value is used to calculate animated property values.
By changing the value of the elapsed fraction, you effectively change
the animation of the property.
For EaseInOutBase, this method calculates the eased fraction
value based on the easeInFraction
property. If
fraction
is less than easeInFraction
,
this method calls the easeIn()
method. Otherwise it
calls the easeOut()
method.
It is expected
that these functions are overridden in a subclass.
매개 변수
fraction:Number — The elapsed fraction of the animation.
|
Number — The eased fraction of the animation.
|
easeIn | () | 메서드 |
protected function easeIn(fraction:Number):Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Returns a value that represents the eased fraction during the ease in phase of the animation. The value returned by this class is simply the fraction itself, which represents a linear interpolation of the fraction. More interesting behavior is implemented by subclasses of EaseInOutBase.
매개 변수
fraction:Number — The fraction elapsed of the easing in phase
of the animation, between 0.0 and 1.0.
|
Number — A value that represents the eased value for this
phase of the animation.
|
easeOut | () | 메서드 |
protected function easeOut(fraction:Number):Number
언어 버전: | ActionScript 3.0 |
제품 버전: | Flex 4 |
런타임 버전: | Flash Player 10, AIR 1.5 |
Returns a value that represents the eased fraction during the ease out phase of the animation. The value returned by this class is simply the fraction itself, which represents a linear interpolation of the fraction. More interesting behavior is implemented by subclasses of EaseInOutBase.
매개 변수
fraction:Number — The fraction elapsed of the easing out phase
of the animation, between 0.0 and 1.0.
|
Number — A value that represents the eased value for this
phase of the animation.
|
Tue Jun 12 2018, 03:17 PM Z