com.gccloud.gcpaas.ooxml.excel.bean.WaterMark Maven / Gradle / Ivy
The newest version!
package com.gccloud.gcpaas.ooxml.excel.bean;
import java.awt.*;
/**
* 水印配置类
*/
public class WaterMark {
/**
* 水印文本
*/
private String text;
/**
* 水印图片宽度
*/
private Integer width = 400;
/**
* 水印图片高度
*/
private Integer height = 200;
/**
* 文本字体大小
*/
private Integer fontSize = 18;
/**
* 文本字体颜色
*/
private Color fontColor = new Color(255, 0, 0, 100);
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public Integer getWidth() {
return width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return height;
}
public void setHeight(Integer height) {
this.height = height;
}
public Integer getFontSize() {
return fontSize;
}
public void setFontSize(Integer fontSize) {
this.fontSize = fontSize;
}
public Color getFontColor() {
return fontColor;
}
public void setFontColor(Color fontColor) {
this.fontColor = fontColor;
}
}