abstract class MotionInterpolator : Interpolator

Known direct subclasses
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 functions

abstract Float

Gets the interpolated given the original interpolation

abstract Float

Gets the velocity at the last interpolated point

Public constructors

MotionInterpolator

Added in 2.2.0-alpha13
MotionInterpolator()

Public functions

getInterpolation

abstract fun getInterpolation(v: Float): Float

Gets the interpolated given the original interpolation

Parameters
v: Float
Returns
Float

getVelocity

Added in 2.2.0-alpha13
abstract fun getVelocity(): Float

Gets the velocity at the last interpolated point

Returns
Float