public class WaterMarkImage extends AbstractModel
Constructor and Description |
---|
WaterMarkImage() |
WaterMarkImage(WaterMarkImage 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 |
---|---|
Long |
getHeight()
Get The relative height of the image.
|
Long |
getLeft()
Get The X axis of the image’s top-left corner.
|
Long |
getTop()
Get The Y axis of the image's top-left corner.
|
String |
getWaterMarkUrl()
Get The download URLs of the watermark images, which must be in JPG or PNG format and cannot be larger than 5 MB.
|
Long |
getWidth()
Get The relative width of the image.
|
void |
setHeight(Long Height)
Set The relative height of the image.
|
void |
setLeft(Long Left)
Set The X axis of the image’s top-left corner.
|
void |
setTop(Long Top)
Set The Y axis of the image's top-left corner.
|
void |
setWaterMarkUrl(String WaterMarkUrl)
Set The download URLs of the watermark images, which must be in JPG or PNG format and cannot be larger than 5 MB.
|
void |
setWidth(Long Width)
Set The relative width of the image.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public WaterMarkImage()
public WaterMarkImage(WaterMarkImage source)
public String getWaterMarkUrl()
public void setWaterMarkUrl(String WaterMarkUrl)
WaterMarkUrl
- The download URLs of the watermark images, which must be in JPG or PNG format and cannot be larger than 5 MB.public Long getTop()
public void setTop(Long Top)
Top
- The Y axis of the image's top-left corner. Value range: [0, 2560]. The value cannot be larger than the canvas height.public Long getLeft()
public void setLeft(Long Left)
Left
- The X axis of the image’s top-left corner. Value range: [0, 2560]. The value cannot be larger than the canvas width.public Long getWidth()
public void setWidth(Long Width)
Width
- The relative width of the image. Value range: [0, 2560]. The sum of the values of this parameter and `Left` cannot exceed the canvas width.public Long getHeight()
public void setHeight(Long Height)
Height
- The relative height of the image. Value range: [0, 2560]. The sum of the values of this parameter and `Top` cannot exceed the canvas height.Copyright © 2023. All rights reserved.