BaseEasingMethod
abstract class BaseEasingMethod
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?
|
Refer : https://github.com/daimajia/AnimationEasingFunctions