主题
EasingStyle
EasingStyle 是补间缓动曲线枚举,用来描述属性在补间过程中从起点过渡到终点时速度变化的节奏风格,提供 Enums.EasingStyle.Linear、Enums.EasingStyle.Sine、Enums.EasingStyl...
概览
EasingStyle 是补间缓动曲线枚举,用来描述属性在补间过程中从起点过渡到终点时速度变化的节奏风格,提供 Enums.EasingStyle.Linear、Enums.EasingStyle.Sine、Enums.EasingStyle.Cubic、Enums.EasingStyle.Back、Enums.EasingStyle.Bounce、Enums.EasingStyle.Elastic 等成员。它通常与 EasingDirection 搭配使用,共同决定最终的补间曲线表现。
继承自
Int;枚举类型
枚举值
| 值 | 名称 | 说明 |
|---|---|---|
0 | Linear | 线性 |
1 | Quad | 二次曲线 |
2 | Cubic | 三次曲线 |
3 | Quart | 四次曲线 |
4 | Quint | 五次曲线 |
5 | Sine | 正弦曲线 |
6 | Exponential | 指数曲线 |
7 | Circular | 圆弧曲线 |
8 | Back | 回弹效果 |
9 | Bounce | 弹跳效果 |
10 | Elastic | 弹性效果 |
