MotionInterpolator
public abstract class MotionInterpolator implements Interpolator
StopLogic |
This contains the class to provide the logic for an animation to come to a stop. |
Defines an interpolator that can return velocity
Summary
Public constructors |
|---|
Public methods |
|
|---|---|
abstract float |
getInterpolation(float v)Gets the interpolated given the original interpolation |
abstract float |
Gets the velocity at the last interpolated point |
Public constructors
Public methods
getInterpolation
public abstract float getInterpolation(float v)
Gets the interpolated given the original interpolation
| Parameters | |
|---|---|
float v |
| Returns | |
|---|---|
float |
getVelocity
Added in 2.2.1
public abstract float getVelocity()
Gets the velocity at the last interpolated point
| Returns | |
|---|---|
float |