Class ElasticInCurve

java.lang.Object
javafx.animation.Interpolator
io.github.palexdev.mfxeffects.animations.base.Curve
io.github.palexdev.mfxeffects.animations.motion.ElasticInCurve

public class ElasticInCurve extends Curve

An oscillating curve that grows in magnitude while overshooting its bounds.

Elastic In Example

The above example is built with a magnitude of 0.4.

  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.animation.Interpolator

    javafx.animation.Interpolator.StepPosition
  • Field Summary

    Fields inherited from class javafx.animation.Interpolator

    DISCRETE, EASE_BOTH, EASE_IN, EASE_OUT, LINEAR, STEP_END, STEP_START
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    ElasticInCurve(double period)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    curve(double t)
     

    Methods inherited from class io.github.palexdev.mfxeffects.animations.base.Curve

    flipped

    Methods inherited from class javafx.animation.Interpolator

    interpolate, interpolate, interpolate, interpolate, interpolate, SPLINE, STEPS, TANGENT, TANGENT

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ElasticInCurve

      public ElasticInCurve()
    • ElasticInCurve

      public ElasticInCurve(double period)
  • Method Details

    • curve

      public double curve(double t)
      Specified by:
      curve in class Curve