public abstract class Animation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Animation.AnimationListener
Marker 动画监听接口
|
static class |
Animation.RepeatMode
Marker 动画重复模式枚举类
|
Modifier and Type | Field and Description |
---|---|
BDAnimation |
bdAnimation |
Modifier | Constructor and Description |
---|---|
protected |
Animation() |
Modifier and Type | Method and Description |
---|---|
abstract void |
cancel()
取消 Marker 动画
|
abstract void |
setAnimationListener(Animation.AnimationListener animationListener)
设置 Marker 动画监听
|
abstract void |
setDuration(long duration)
设置 Marker 动画执行时间
|
abstract void |
setInterpolator(Interpolator interpolator)
设置 Marker 动画插值器
|
public abstract void setAnimationListener(Animation.AnimationListener animationListener)
animationListener
- Marker 动画监听public abstract void setDuration(long duration)
duration
- Marker 动画执行时间public abstract void setInterpolator(Interpolator interpolator)
interpolator
- Marker 动画插值器 (与系统动画插值器一致)public abstract void cancel()