ecology_maven/aiyh/utils/fileUtil/WatermarkPoint.java

45 lines
680 B
Java
Raw Normal View History

2021-11-14 15:29:16 +08:00
package aiyh.utils.fileUtil;
/**
* @author EBU7-dev1-ayh
* @date 2021/9/8 0008 14:02
* watermark point
*/
public class WatermarkPoint {
private Integer X;
private Integer Y;
private WatermarkPointEnum location;
public WatermarkPoint(Integer x, Integer y) {
this.X = x;
this.Y = y;
}
public WatermarkPoint(WatermarkPointEnum location) {
this.location = location;
}
public WatermarkPointEnum getLocation() {
return location;
}
public Integer getX() {
return X;
}
public Integer getY() {
return Y;
}
@Override
public String toString() {
return "WatermarkPoint{" +
"X=" + X +
", Y=" + Y +
", location=" + location +
'}';
}
}