public abstract class

BaseAnimation

extends Object
implements Animation
java.lang.Object
   ↳ com.tencent.tencentmap.mapsdk.maps.model.BaseAnimation
Known Direct Subclasses

Summary

Public Constructors
BaseAnimation()
Public Methods
AnimationListener getAnimationListener()
获取动画监听
long getDuration()
获取动画时长
Interpolator getInterpolator()
获取拦截器
void setAnimationListener(AnimationListener listener)
设置动画的状态回调
void setDuration(long duration)
设置动画的持续时间
void setInterpolator(Interpolator interpolator)
设置动画播放进度的拦截器 具体参见 @see Interpolator
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.tencent.tencentmap.mapsdk.maps.model.Animation

Public Constructors

public BaseAnimation ()

Public Methods

public AnimationListener getAnimationListener ()

获取动画监听

public long getDuration ()

获取动画时长

public Interpolator getInterpolator ()

获取拦截器

public void setAnimationListener (AnimationListener listener)

设置动画的状态回调

Parameters
listener 参见 AnimationListener

public void setDuration (long duration)

设置动画的持续时间

Parameters
duration 单位为 ms

public void setInterpolator (Interpolator interpolator)

设置动画播放进度的拦截器 具体参见 @see Interpolator