public abstract class Animation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
com.tencent.map.core.functions.animation.GlAnimation |
glAnimation |
protected com.tencent.map.core.functions.animation.GlAnimation.InnerAnimationListener |
mAnimationListener |
Constructor and Description |
---|
Animation() |
Modifier and Type | Method and Description |
---|---|
void |
setAnimationListener(AnimationListener listener)
设置动画的状态回调
|
abstract void |
setDuration(long duration)
设置动画的持续时间
|
abstract void |
setInterpolator(android.view.animation.Interpolator interpolator)
设置动画播放进度的拦截器
具体参见 @see Interpolator
|
public com.tencent.map.core.functions.animation.GlAnimation glAnimation
protected com.tencent.map.core.functions.animation.GlAnimation.InnerAnimationListener mAnimationListener
public abstract void setDuration(long duration)
duration
- 单位为 mspublic abstract void setInterpolator(android.view.animation.Interpolator interpolator)
interpolator
- public void setAnimationListener(AnimationListener listener)
listener
- 参见 AnimationListener