public class HeatMapAnimation
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static class |
HeatMapAnimation.AnimationType
动画属性枚举类
默认支持Linear方式
|
构造器和说明 |
---|
HeatMapAnimation(boolean isAnimation,
int duration,
HeatMapAnimation.AnimationType type)
动态热力图动画属性构造器
|
限定符和类型 | 方法和说明 |
---|---|
int |
getAnimationType()
获取动画类型
|
int |
getDuration()
获取动画时长
|
boolean |
getIsAnimation()
获取是否开启动画
|
void |
setAnimation(boolean isAnimation)
设置是否开启动画
|
void |
setAnimationType(HeatMapAnimation.AnimationType animationType)
设置动画类型
|
void |
setDuration(int mDuration)
设置动画时长
|
public HeatMapAnimation(boolean isAnimation, int duration, HeatMapAnimation.AnimationType type)
isAnimation
- 是否有动画duration
- 动画时长type
- 动画类型public int getDuration()
public void setDuration(int mDuration)
mDuration
- public int getAnimationType()
public void setAnimationType(HeatMapAnimation.AnimationType animationType)
animationType
- public void setAnimation(boolean isAnimation)
isAnimation
- public boolean getIsAnimation()