client-autoReport-common

@Getter
@Setter
@AllArgsConstructor
public class Anchor extends BaseModel {
/**
* x轴
*/
private double x;

/**
* y轴
*/
private double y;

/**
* 长度
*/
private double width;

/**
* 高度
*/
private double height;
}

@Getter
@Setter
@AllArgsConstructor
public class Border implements Serializable {
/**
* 边线颜色
*/
private String color;

/**
* 边框线设置;可设置虚线
*/
private Integer lineDash;

/**
* 边线大小
*/
private Double borderWidth;

public Border() {
}

public Border color(String color) {
this.color = color;
return this;
}

public Border borderWidth(Double borderWidth) {
this.borderWidth = borderWidth;
return this;
}

}

@Getter
@Setter
public class Style implements Serializable {

/**
* 字体 @JSONField能把字段序列化成指定的格式
*/
@JSONField(name = "font-family")
private String fontFamily;

/**
* 字体大小
*/
private String fontSize;

/**
* 颜色
*/
private String color;

/**
* 加粗
*/
private String fontWeight;

/**
* 倾斜
*/
private String fontStyle;

/**
* 下划线
*/
private String textDecoration;

/**
* 文字对齐方式
*/
private String textAlign;

/**
* 填充颜色
*/
private String fillColor;

/**
* 文本段落行高
*/
private String lineHeight;

/**
* textBoxShape级别设置文字距离左边距离
*/
private String textIndent;
}
posted @ 2020-03-30 15:42  controlV  阅读(194)  评论(0编辑  收藏  举报