Easing

abstract class Easing(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Animation

Inheritors

Constructors

Link copied to clipboard
constructor(type: Easing.Type, durationNanos: Long, start: Float, end: Float)

Types

Link copied to clipboard
class Back(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Bump(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Circ(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Cubic(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Elastic(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Expo(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Quad(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Quart(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Quint(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard
class Sine(val type: Easing.Type, var durationNanos: Long, start: Float, end: Float) : Easing
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
var from: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var to: Float
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract override fun clone(): Animation
Link copied to clipboard
fun extend(by: Float)

Set from to the current value, extend to with by, and reset the passedTime to 0.

Link copied to clipboard
fun finishNow()

finish the animation now.

Link copied to clipboard
abstract fun getValueIn(percent: Float): Float
Link copied to clipboard
abstract fun getValueInOut(percent: Float): Float
Link copied to clipboard
abstract fun getValueOut(percent: Float): Float
Link copied to clipboard
fun reset()
Link copied to clipboard
fun reverse()
Link copied to clipboard
fun update(deltaTimeNanos: Long): Float