package org.icepear.echarts.liuxue;

import lombok.Data;

import java.util.List;
@Data
public class JianBianColor {
    private String type;
    private double x;
    private double y;

    private double x2;
    private double y2;

    private List<ColorStops> colorStops;

    private boolean global;
    public JianBianColor(String type, double x, double y, double x2, double y2, List<ColorStops> colorStops,boolean global) {
        this.type = type;
        this.x = x;
        this.y = y;
        this.x2 = x2;
        this.y2 = y2;
        this.colorStops = colorStops;
        this.global=global;
    }
}
