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-Axis coordinate of the upper left corner.
|
Float |
getLeftTopY()
Get Y-Axis coordinate of the upper left corner.
|
Float |
getRightBottomX()
Get X-Axis coordinate of the bottom-right corner.
|
Float |
getRightBottomY()
Get Y-Axis coordinate of the bottom-right corner.
|
Long |
getUnit()
Get Specifies the coordinate unit.
|
void |
setLeftTopX(Float LeftTopX)
Set X-Axis coordinate of the upper left corner.
|
void |
setLeftTopY(Float LeftTopY)
Set Y-Axis coordinate of the upper left corner.
|
void |
setRightBottomX(Float RightBottomX)
Set X-Axis coordinate of the bottom-right corner.
|
void |
setRightBottomY(Float RightBottomY)
Set Y-Axis coordinate of the bottom-right corner.
|
void |
setUnit(Long Unit)
Set Specifies the coordinate unit.
|
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-Axis coordinate of the upper left corner.
When Unit is set to 1 (percentage Unit), 0.05 indicates the horizontal distance from the upper left corner of the region to the top-left corner of the entire frame is 5% of the frame width.public Float getLeftTopY()
public void setLeftTopY(Float LeftTopY)
LeftTopY
- Y-Axis coordinate of the upper left corner.
When Unit is set to 1 (using percentage Unit), 0.1 indicates the vertical distance from the top-left corner of the area to the top-left corner of the entire frame is 10% of the screen height.public Float getRightBottomX()
public void setRightBottomX(Float RightBottomX)
RightBottomX
- X-Axis coordinate of the bottom-right corner.
When Unit is set to 1 (percentage Unit), 0.75 indicates the horizontal distance from the bottom-right corner of the region to the top-left corner of the entire frame is 75% of the frame width.public Float getRightBottomY()
public void setRightBottomY(Float RightBottomY)
RightBottomY
- Y-Axis coordinate of the bottom-right corner.
When Unit is set to 1 (using percentage Unit), 0.9 indicates the vertical distance from the bottom-right corner of the area to the top-left corner of the entire frame is 90% of the screen height.public Long getUnit()
public void setUnit(Long Unit)
Unit
- Specifies the coordinate unit.
-Percentage.
-2 pixel values.Copyright © 2025. All rights reserved.