public enum Curve extends Enum<Curve>
| Enum Constant and Description |
|---|
EASE_IN |
EASE_IN_OUT |
EASE_IN_OUT_SINE |
EASE_IN_SINE |
EASE_OUT |
EASE_OUT_SINE |
LINEAR |
| Modifier and Type | Method and Description |
|---|---|
javafx.animation.Interpolator |
toInterpolator() |
static Curve |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Curve[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Curve LINEAR
public static final Curve EASE_IN
public static final Curve EASE_IN_SINE
public static final Curve EASE_OUT
public static final Curve EASE_OUT_SINE
public static final Curve EASE_IN_OUT
public static final Curve EASE_IN_OUT_SINE
public static Curve[] values()
for (Curve c : Curve.values()) System.out.println(c);
public static Curve 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 javafx.animation.Interpolator toInterpolator()
Copyright © 2022. All rights reserved.