Class AnimationCurve

java.lang.Object
dev.prozilla.pine.common.property.animated.AnimationCurve

public class AnimationCurve extends Object
Determines how an animation progresses over time.
  • Field Details

  • Constructor Details

    • AnimationCurve

      public AnimationCurve(float duration)
      Creates a linear animation with a given duration.
      Parameters:
      duration - Duration of the animation
    • AnimationCurve

      public AnimationCurve(float duration, EasingFunction easingFunction)
      Creates an animation with a given duration.
      Parameters:
      duration - Duration of the animation
    • AnimationCurve

      public AnimationCurve(float duration, EasingFunction easingFunction, AnimationDirection direction)
      Creates an animation with a given duration.
      Parameters:
      duration - Duration of the animation
  • Method Details