- 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 fractiont
between0.0
and1.0
.
-
Method Details
-
interpolate
The function calculates an interpolated value along the fractiont
between0.0
and1.0
. Whent
= 1.0,endVal
is returned.- Parameters:
endValue
- target valuet
- fraction between0.0
and1.0
- Returns:
- interpolated value
-