45 lines
680 B
Java
45 lines
680 B
Java
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 +
|
|
'}';
|
|
}
|
|
}
|