Enum Class Easing

java.lang.Object
java.lang.Enum<Easing>
me.deecaad.core.transition.Easing
All Implemented Interfaces:
Serializable, Comparable<Easing>, Constable, DoubleUnaryOperator

public enum Easing extends Enum<Easing> implements DoubleUnaryOperator
Maps a normalized time t in [0, 1] to an eased value in [0, 1]. Used by Keyframe to shape how a Transition segment progresses.
  • Enum Constant Details

    • LINEAR

      public static final Easing LINEAR
    • EASE_IN

      public static final Easing EASE_IN
    • EASE_OUT

      public static final Easing EASE_OUT
    • EASE_IN_OUT

      public static final Easing EASE_IN_OUT
    • EASE_IN_CUBIC

      public static final Easing EASE_IN_CUBIC
    • EASE_OUT_CUBIC

      public static final Easing EASE_OUT_CUBIC
    • EASE_IN_OUT_CUBIC

      public static final Easing EASE_IN_OUT_CUBIC
  • Method Details

    • values

      public static Easing[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Easing valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null