CubicBezierCurve, SpringCurvepublic static interface Animator.TimelineCurve
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
float |
getCurvedTime(float time) |
Obtains the value that represents a fraction in the timeline curve based on the specified time.
|
float getCurvedTime(float time)
time - Indicates the specified time. The value range is [0, 1].AnimatorProperty.setCurve(Animator.TimelineCurve curve),
AnimatorValue.setCurve(Animator.TimelineCurve curve),
AnimatorGroup.setCurve(Animator.TimelineCurve curve)