public class ScaleAnimation extends Animation
Animation.setFillMode(int)修改Animation.AnimationListeneranimationType, FILL_MODE_BACKWARDS, FILL_MODE_FORWARDS, INFINITE, RESTART, REVERSE| 构造器和说明 |
|---|
ScaleAnimation(float fromX,
float toX,
float fromY,
float toY)
控制缩放的动画类
比如要实现一个Marker生长动画,可以使用 (0,1,0,1) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected java.lang.String |
getAnimationType() |
getFillMode, getRepeatCount, getRepeatMode, setAnimationListener, setDuration, setFillMode, setInterpolator, setRepeatCount, setRepeatModepublic ScaleAnimation(float fromX,
float toX,
float fromY,
float toY)
fromX - 动画开始时横坐标位置toX - 动画结束时横坐标位置fromY - 动画开始时纵坐标位置toY - 动画结束时纵坐标位置protected java.lang.String getAnimationType()
getAnimationType 在类中 Animation