Class Polygon
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.Polygon
-
public class Polygon extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordgetLeftBottom()Get 左下顶点坐标CoordgetLeftTop()Get 左上顶点坐标CoordgetRightBottom()Get 右下顶点坐标CoordgetRightTop()Get 右上顶点坐标voidsetLeftBottom(Coord LeftBottom)Set 左下顶点坐标voidsetLeftTop(Coord LeftTop)Set 左上顶点坐标voidsetRightBottom(Coord RightBottom)Set 右下顶点坐标voidsetRightTop(Coord RightTop)Set 右上顶点坐标voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Polygon
public Polygon()
-
Polygon
public Polygon(Polygon source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getLeftTop
public Coord getLeftTop()
Get 左上顶点坐标- Returns:
- LeftTop 左上顶点坐标
-
setLeftTop
public void setLeftTop(Coord LeftTop)
Set 左上顶点坐标- Parameters:
LeftTop- 左上顶点坐标
-
getRightTop
public Coord getRightTop()
Get 右上顶点坐标- Returns:
- RightTop 右上顶点坐标
-
setRightTop
public void setRightTop(Coord RightTop)
Set 右上顶点坐标- Parameters:
RightTop- 右上顶点坐标
-
getRightBottom
public Coord getRightBottom()
Get 右下顶点坐标- Returns:
- RightBottom 右下顶点坐标
-
setRightBottom
public void setRightBottom(Coord RightBottom)
Set 右下顶点坐标- Parameters:
RightBottom- 右下顶点坐标
-
getLeftBottom
public Coord getLeftBottom()
Get 左下顶点坐标- Returns:
- LeftBottom 左下顶点坐标
-
setLeftBottom
public void setLeftBottom(Coord LeftBottom)
Set 左下顶点坐标- Parameters:
LeftBottom- 左下顶点坐标
-
-