- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A value that can be interpolated. It defines single
interpolate(Object, double) method, which returns interpolated value
of given fraction.- Since:
- JavaFX 2.0
-
Method Summary
Modifier and TypeMethodDescriptioninterpolate(T endValue, double t) The function calculates an interpolated value along the fractiontbetween0.0and1.0.
-
Method Details
-
interpolate
The function calculates an interpolated value along the fractiontbetween0.0and1.0. Whent= 1.0,endValis returned.- Parameters:
endValue- target valuet- fraction between0.0and1.0- Returns:
- interpolated value
-