public class RotateAnimator extends Animator
| 构造器和说明 |
|---|
RotateAnimator(float degree,
int duration)
旋转动画的构造函数。
|
RotateAnimator(RotateAnimator animator)
根据给定的RotateAnimator对象构造一个与其完全相同的新对象。
|
| 限定符和类型 | 方法和说明 |
|---|---|
float |
getRotateDegree()
获取要旋转的角度。
|
void |
setRotateDegree(float rotateDegree)
设置要旋转的角度。
|
getDuration, isAnimating, setDuration, stopAnimationpublic RotateAnimator(float degree,
int duration)
degree - 要旋转的角度。duration - 动画持续的时间。public RotateAnimator(RotateAnimator animator)
animator - 给定的RotateAnimator对象。