public class EmergeAnimation extends Animation
glAnimation, mAnimationListener
Constructor and Description |
---|
EmergeAnimation(LatLng startPoint)
动画从哪点开始然后向两端扩展,当然也可以设置为起点或是终点。
如果设置的点不在线上,则从线与这个点最近的那个点开始。
|
Modifier and Type | Method and Description |
---|---|
LatLng |
getStartPoint()
获取动画的起始点。
|
void |
setDuration(long lanimatetime)
设置动画的持续时间
|
void |
setInterpolator(android.view.animation.Interpolator interpolator)
设置动画播放进度的拦截器
具体参见 @see Interpolator
|
setAnimationListener
public EmergeAnimation(LatLng startPoint)
startPoint
- public void setDuration(long lanimatetime)
setDuration
in class Animation
lanimatetime
- 单位为 mspublic void setInterpolator(android.view.animation.Interpolator interpolator)
setInterpolator
in class Animation
public LatLng getStartPoint()