Class NumberTangentInterpolator

java.lang.Object
javafx.animation.Interpolator
javafx.animation.NumberTangentInterpolator

public class NumberTangentInterpolator extends Interpolator
  • Constructor Details

    • NumberTangentInterpolator

      public NumberTangentInterpolator(Duration inDuration, double inValue, Duration outDuration, double outValue)
    • NumberTangentInterpolator

      public NumberTangentInterpolator(Duration duration, double value)
  • Method Details

    • getInValue

      public double getInValue()
    • getOutValue

      public double getOutValue()
    • getInTicks

      public double getInTicks()
    • getOutTicks

      public double getOutTicks()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • curve

      protected double curve(double t)
      Description copied from class: Interpolator
      Mapping from [0.0..1.0] to itself.
      Specified by:
      curve in class Interpolator
      Parameters:
      t - time, but normalized to the range [0.0..1.0], where 0.0 is the start of the current interval, while 1.0 is the end of the current interval. Usually a function that increases monotonically.