EaseFunction: (
    t: number,
    b: number,
    c: number,
    d: number,
    ...args: any[],
) => number

类型声明

    • (t: number, b: number, c: number, d: number, ...args: any[]): number
    • 参数

      • t: number

        Current time between 0 and the duration (inclusive).

      • b: number

        The initial value of the animated property.

      • c: number

        The total change in the animated property.

      • d: number

        The duration of the motion.

      • ...args: any[]

        Additional arguments.

      返回 number

Ease function is a function that takes a time parameter and returns a value between 0 and 1.

Ease函数是一个接受时间参数并返回0到1之间值的函数。