public static enum QuadraticEnvelope.Ease extends Enum<QuadraticEnvelope.Ease>
Enum Constant and Description |
---|
BOTH
The curve slops on both the start and end values
|
IN
The quadratic curve accelerates towards the final value
|
OUT
The quadratic curve decelerates towards the final value
|
Modifier and Type | Method and Description |
---|---|
static QuadraticEnvelope.Ease |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuadraticEnvelope.Ease[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuadraticEnvelope.Ease IN
public static final QuadraticEnvelope.Ease OUT
public static final QuadraticEnvelope.Ease BOTH
public static QuadraticEnvelope.Ease[] values()
for (QuadraticEnvelope.Ease c : QuadraticEnvelope.Ease.values()) System.out.println(c);
public static QuadraticEnvelope.Ease 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 nullLX library by Mark C. Slee. © 2012-2020