Easing

.Math. Easing

Namespaces

Back
Bounce
Circular
Cubic
Elastic
Expo
Quadratic
Quartic
Quintic
Sine
Stepped

Methods

(static) Linear(v) → {number}

Since:
  • 3.0.0
线性放松(无变化).
Parameters:
Name Type Description
v number 要补间的值.
Returns:
补间值.
Type
number

(static) Stepped(v, stepsopt) → {number}

Since:
  • 3.0.0
阶梯式宽松.
Parameters:
Name Type Attributes Default Description
v number 要补间的值.
steps number <optional>
1 轻松的步数.
Returns:
补间值.
Type
number