All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.abel533.echarts.series.other.RippleEffect Maven / Gradle / Ivy

Go to download

这是一个针对ECharts2.0版本的Java类库,实现了所有ECharts中的Json结构对应的Java对象,并且可以很方便的创建Option,Series等

There is a newer version: 3.0.0.6
Show newest version
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