![JAR search and dependency download from the Maven repository](/logo.png)
com.github.abel533.echarts.series.other.RippleEffect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ECharts Show documentation
Show all versions of ECharts Show documentation
这是一个针对ECharts2.0版本的Java类库,实现了所有ECharts中的Json结构对应的Java对象,并且可以很方便的创建Option,Series等
package com.github.abel533.echarts.series.other;
import com.github.abel533.echarts.code.BrushType;
import java.io.Serializable;
/**
* 涟漪特效相关配置
*
* @author liuzh
* @since 2016-02-28 10:30
*/
public class RippleEffect implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 动画的时间
*/
private Integer period;
/**
* 动画中波纹的最大缩放比例
*/
private Double scale;
/**
* 波纹的填充方式,可选 'stroke' 和 'fill'
*/
private BrushType brushType;
public Integer period() {
return this.period;
}
public RippleEffect period(Integer period) {
this.period = period;
return this;
}
public Double scale() {
return this.scale;
}
public RippleEffect scale(Double scale) {
this.scale = scale;
return this;
}
public BrushType brushType() {
return this.brushType;
}
public RippleEffect brushType(BrushType brushType) {
this.brushType = brushType;
return this;
}
public Integer getPeriod() {
return period;
}
public void setPeriod(Integer period) {
this.period = period;
}
public Double getScale() {
return scale;
}
public void setScale(Double scale) {
this.scale = scale;
}
public BrushType getBrushType() {
return brushType;
}
public void setBrushType(BrushType brushType) {
this.brushType = brushType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy