public enum EasingOptions extends Enum<EasingOptions>
| Modifier and Type | Method and Description |
|---|---|
float |
calculate(Easing easing,
float t,
float d) |
static EasingOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EasingOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EasingOptions EaseIn
public static final EasingOptions EaseOut
public static final EasingOptions EaseInOut
public static EasingOptions[] values()
for (EasingOptions c : EasingOptions.values()) System.out.println(c);
public static EasingOptions valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic float calculate(Easing easing, float t, float d)
Copyright © 2015 silverspoon.io. All rights reserved.