Package javafx.animation
Class NumberTangentInterpolator
java.lang.Object
javafx.animation.Interpolator
javafx.animation.NumberTangentInterpolator
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNumberTangentInterpolator
(Duration duration, double value) NumberTangentInterpolator
(Duration inDuration, double inValue, Duration outDuration, double outValue) -
Method Summary
Methods inherited from class javafx.animation.Interpolator
interpolate, interpolate, interpolate, interpolate, interpolate, SPLINE
-
Constructor Details
-
NumberTangentInterpolator
-
NumberTangentInterpolator
-
-
Method Details
-
getInValue
public double getInValue() -
getOutValue
public double getOutValue() -
getInTicks
public double getInTicks() -
getOutTicks
public double getOutTicks() -
toString
-
hashCode
public int hashCode() -
equals
-
curve
protected double curve(double t) Description copied from class:Interpolator
Mapping from [0.0..1.0] to itself.- Specified by:
curve
in classInterpolator
- 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.
-