Package com.kakao.vectormap.animation
Enum Interpolation
- java.lang.Object
-
- java.lang.Enum<Interpolation>
-
- com.kakao.vectormap.animation.Interpolation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Interpolation>
public enum Interpolation extends java.lang.Enum<Interpolation>
애니메이션의 interpolation enum 클래스.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CubicIn
삼차원 함수형태 보간(변화량이 점점 증가)CubicInOut
삼차원 함수형태 보간(변화량이 초반부에 증가하다 마지막에 다시 감소)CubicOut
삼차원 함수형태 보간(변화량이 점점 감소)Linear
선형 보간 (변화량 일정)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Interpolation
getType(int value)
int
getValue()
static Interpolation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Interpolation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Linear
public static final Interpolation Linear
선형 보간 (변화량 일정)
-
CubicIn
public static final Interpolation CubicIn
삼차원 함수형태 보간(변화량이 점점 증가)
-
CubicOut
public static final Interpolation CubicOut
삼차원 함수형태 보간(변화량이 점점 감소)
-
CubicInOut
public static final Interpolation CubicInOut
삼차원 함수형태 보간(변화량이 초반부에 증가하다 마지막에 다시 감소)
-
-
Method Detail
-
values
public static Interpolation[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Interpolation c : Interpolation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Interpolation valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
getType
public static Interpolation getType(int value)
-
-