public class EraseArea extends AbstractModel
header, skipSign
Constructor and Description |
---|
EraseArea() |
EraseArea(EraseArea 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.
|
Modifier and Type | Method and Description |
---|---|
Float |
getLeftTopX()
Get 区域左上角X坐标。
如当Unit取1即使用百分比单位时,0.05表示区域左上角离整个画面左上角的横向距离为画面宽度的5%。
|
Float |
getLeftTopY()
Get 区域左上角Y坐标。
如当Unit取1即使用百分比单位时,0.1表示区域左上角离整个画面左上角的纵向距离为画面高度的10%。
|
Float |
getRightBottomX()
Get 区域右下角X坐标。
如当Unit取1即使用百分比单位时,0.75表示区域右下角离整个画面左上角的横向距离为画面宽度的75%。
|
Float |
getRightBottomY()
Get 区域右下角Y坐标。
如当Unit取1即使用百分比单位时,0.9表示区域右下角离整个画面左上角的纵向距离为画面高度的90%。
|
Long |
getUnit()
Get 坐标单位
- 1 百分比
- 2 像素值
|
void |
setLeftTopX(Float LeftTopX)
Set 区域左上角X坐标。
如当Unit取1即使用百分比单位时,0.05表示区域左上角离整个画面左上角的横向距离为画面宽度的5%。
|
void |
setLeftTopY(Float LeftTopY)
Set 区域左上角Y坐标。
如当Unit取1即使用百分比单位时,0.1表示区域左上角离整个画面左上角的纵向距离为画面高度的10%。
|
void |
setRightBottomX(Float RightBottomX)
Set 区域右下角X坐标。
如当Unit取1即使用百分比单位时,0.75表示区域右下角离整个画面左上角的横向距离为画面宽度的75%。
|
void |
setRightBottomY(Float RightBottomY)
Set 区域右下角Y坐标。
如当Unit取1即使用百分比单位时,0.9表示区域右下角离整个画面左上角的纵向距离为画面高度的90%。
|
void |
setUnit(Long Unit)
Set 坐标单位
- 1 百分比
- 2 像素值
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public EraseArea()
public EraseArea(EraseArea source)
public Float getLeftTopX()
public void setLeftTopX(Float LeftTopX)
LeftTopX
- 区域左上角X坐标。
如当Unit取1即使用百分比单位时,0.05表示区域左上角离整个画面左上角的横向距离为画面宽度的5%。public Float getLeftTopY()
public void setLeftTopY(Float LeftTopY)
LeftTopY
- 区域左上角Y坐标。
如当Unit取1即使用百分比单位时,0.1表示区域左上角离整个画面左上角的纵向距离为画面高度的10%。public Float getRightBottomX()
public void setRightBottomX(Float RightBottomX)
RightBottomX
- 区域右下角X坐标。
如当Unit取1即使用百分比单位时,0.75表示区域右下角离整个画面左上角的横向距离为画面宽度的75%。public Float getRightBottomY()
public void setRightBottomY(Float RightBottomY)
RightBottomY
- 区域右下角Y坐标。
如当Unit取1即使用百分比单位时,0.9表示区域右下角离整个画面左上角的纵向距离为画面高度的90%。public Long getUnit()
public void setUnit(Long Unit)
Unit
- 坐标单位
- 1 百分比
- 2 像素值Copyright © 2025. All rights reserved.