BaseEasingMethod

BaseEasingMethod

abstract class BaseEasingMethod

Refer : https://github.com/daimajia/AnimationEasingFunctions

Constructors

<init>

constructor(mDuration: Float)

Refer : https://github.com/daimajia/AnimationEasingFunctions

Parameters

Name Description
mDuration: Float

Methods

evaluate

open fun evaluate(fraction: Float, startValue: Number, endValue: Number): Float?

Parameters

Name Description
fraction: Float
startValue: Number
endValue: Number

ReturnValue

Name Description
Float?

calculate

abstract fun calculate(t: Float, b: Float, c: Float, d: Float): Float?

Parameters

Name Description
t: Float
b: Float
c: Float
d: Float

ReturnValue

Name Description
Float?