From fac72bc3985d1a8240c5bccb9719f0ab1a5ed9a0 Mon Sep 17 00:00:00 2001 From: inter Date: Thu, 4 Sep 2025 14:09:10 +0800 Subject: [PATCH] Add File --- .../easyai/entity/PicturePosition.java | 66 +++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 src/main/java/org/dromara/easyai/entity/PicturePosition.java diff --git a/src/main/java/org/dromara/easyai/entity/PicturePosition.java b/src/main/java/org/dromara/easyai/entity/PicturePosition.java new file mode 100644 index 0000000..6a8ec86 --- /dev/null +++ b/src/main/java/org/dromara/easyai/entity/PicturePosition.java @@ -0,0 +1,66 @@ +package org.dromara.easyai.entity; + +public class PicturePosition { + private String url;//照片本地地址 + private int x; + private int y; + private int XSize; + private int YSize; + private boolean isNeedCut = false;//是否需要切割 + + public PicturePosition() { + + } + + public PicturePosition(String url) { + this.url = url; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + + public int getX() { + return x; + } + + public void setX(int x) { + this.x = x; + } + + public int getY() { + return y; + } + + public void setY(int y) { + this.y = y; + } + + public int getXSize() { + return XSize; + } + + public void setXSize(int XSize) { + this.XSize = XSize; + } + + public int getYSize() { + return YSize; + } + + public void setYSize(int YSize) { + this.YSize = YSize; + } + + public boolean isNeedCut() { + return isNeedCut; + } + + public void setNeedCut(boolean needCut) { + isNeedCut = needCut; + } +}