Class Rect
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.ocr.v20181119.models.Rect
-
public class Rect 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 LonggetHeight()Get 高度LonggetWidth()Get 宽度LonggetX()Get 左上角xLonggetY()Get 左上角yvoidsetHeight(Long Height)Set 高度voidsetWidth(Long Width)Set 宽度voidsetX(Long X)Set 左上角xvoidsetY(Long Y)Set 左上角yvoidtoMap(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
-
Rect
public Rect()
-
Rect
public Rect(Rect 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
-
getX
public Long getX()
Get 左上角x- Returns:
- X 左上角x
-
setX
public void setX(Long X)
Set 左上角x- Parameters:
X- 左上角x
-
getY
public Long getY()
Get 左上角y- Returns:
- Y 左上角y
-
setY
public void setY(Long Y)
Set 左上角y- Parameters:
Y- 左上角y
-
getWidth
public Long getWidth()
Get 宽度- Returns:
- Width 宽度
-
setWidth
public void setWidth(Long Width)
Set 宽度- Parameters:
Width- 宽度
-
getHeight
public Long getHeight()
Get 高度- Returns:
- Height 高度
-
setHeight
public void setHeight(Long Height)
Set 高度- Parameters:
Height- 高度
-
-