动画插值器
来源:互联网 发布:java redis2.9 教程 编辑:程序博客网 时间:2024/06/02 10:12
插值器: android.view.animation.interpolator
Interpolator 被用来修饰动画效果,定义动画的变化率,可以使存在的动画效果accelerated(加速),decelerated(减速),repeated(重复),bounced(弹跳)等。
以下是几种interpolator:
各个插值器的图像可以查询:http://blog.csdn.net/lgaojiantong/article/details/39451243
AccelerateDecelerateInterpolator (Accelerate:加速 Decelerate:减速Interpolator:插值器)在动画开始与结束的地方速率改变比较慢,在中间的时候加速
AccelerateInterpolator(加速插值器)在动画开始的地方速率改变比较慢,然后开始加速
DecelerateInterpolator(减速插值器) 在动画开始的地方快然后慢
AnticipateInterpolator (Anticipate:预测)开始的时候向后然后向前甩
AnticipateOvershootInterpolator (Overshoot:超过)开始的时候向后然后向前甩一定值后返回最后的值
BounceInterpolator (Bounce:弹跳) 动画结束的时候弹起
CycleInterpolator (Cycle:周期)动画循环播放特定的次数,速率改变沿着正弦曲线
LinearInterpolator (直线插值器)以常量速率改变
OvershootInterpolator 向前甩一定值后再回到原来位置
以下是摘抄别人的博客
AccelerateInterpolator@android:anim/accelerate_interpolator加速
AnticipateInterpolator@android:anim/anticipate_interpolator先回退一小步然后加速前进
AnticipateOvershootInter
BounceInterpolator@android:anim/bounce_interpolator最后阶段弹球效果
CycleInterpolator@android:anim/cycle_interpolator周期运动
DecelerateInterpolator@android:anim/decelerate_interpolator减速
LinearInterpolator@android:anim/linear_interpolator匀速
OvershootInterpolator@android:anim/overshoot_interpolator快速到达终点并超出一小步最后回到终点
- 动画插值器
- 动画插值器
- Android动画-View动画,插值器
- 【Android动画九章】-动画插值器和动画监听器
- Anroid动画总结三:属性动画插值器
- android动画插值器
- android 动画之插值器
- Android 动画 Interpolator插值器
- 插值器 animation动画
- android Interpolator动画插值器
- 动画插值器Interpolation
- 补间动画 、插值器
- Android 动画之插值器
- 9中动画插值器
- 二、Animation动画插值器
- 动画
- 动画
- 动画
- unityCG库
- 有关tag值
- bool型变量的赋值和运算
- 放点自己的东西
- leetcode 26. Remove Duplicates from Sorted Array
- 动画插值器
- 关于DataGridView的使用
- new/delete 与 malloc/free的区别是什么?
- Leetcode 357. Count Numbers with Unique Digits (Medium) (cpp)
- Lua 自定义打印table函数
- Android开发——常见的内存泄漏以及解决方案(一)
- oc和h5交互
- Ubuntu下几种常用的文本编辑器
- C++ 变量和基本类型(二) const 限定符