Overview
A SimpleIterator is defined in terms of a "curve". It can be used for any value type that either implements Interpolatable or that extends java.lang.Number.
Inherited Attributes
javafx.animation.Interpolator
public | name | type |
---|---|---|
DISCRETE | Interpolator | |
EASEBOTH | Interpolator | |
EASEIN | Interpolator | |
EASEOUT | Interpolator | |
LINEAR | Interpolator |
Function Summary
- public abstract curve(t: Number, ) : Number
-
Mapping from [0.0..1.0] to itself.
- public interpolate(startValue: Object, endValue: Object, fraction: Number, ) : Object
- public interpolate(startValue: Number, endValue: Number, fraction: Number, ) : Number
- public interpolate(startValue: Integer, endValue: Integer, fraction: Number, ) : Integer
Inherited Functions
javafx.animation.Interpolator
Functions
public abstract curve(t: Number, ):Number
-
Parameters
- t
- time, but normalized to the range [0.0..1.0], where 0.0 is the start of the current interval (KeyFrame), while 1.0 is the end of the current interval (KeyFrame). Usually a function that increases monotonically.
-
Returns
- Number
Mapping from [0.0..1.0] to itself.
public interpolate(startValue: Object, endValue: Object, fraction: Number, ):Object
-
Parameters
- startValue
- endValue
- fraction
-
Returns
- Object
public interpolate(startValue: Number, endValue: Number, fraction: Number, ):Number
-
Parameters
- startValue
- endValue
- fraction
-
Returns
- Number
public interpolate(startValue: Integer, endValue: Integer, fraction: Number, ):Integer
-
Parameters
- startValue
- endValue
- fraction
-
Returns
- Integer