public class McuWaterMarkImage extends AbstractModel
header, skipSign
Constructor and Description |
---|
McuWaterMarkImage() |
McuWaterMarkImage(McuWaterMarkImage 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 |
getLocationX()
Get The horizontal offset (pixels) of the watermark.
|
Long |
getLocationY()
Get The vertical offset (pixels) of the watermark.
|
Long |
getWaterMarkHeight()
Get The watermark height (pixels).
|
String |
getWaterMarkUrl()
Get The URL of the watermark image, which must be in PNG, JPG, or JPEG format and cannot exceed 5 MB.
|
Long |
getWaterMarkWidth()
Get The watermark width (pixels).
|
Long |
getZOrder()
Get The image layer of the watermark.
|
void |
setLocationX(Long LocationX)
Set The horizontal offset (pixels) of the watermark.
|
void |
setLocationY(Long LocationY)
Set The vertical offset (pixels) of the watermark.
|
void |
setWaterMarkHeight(Long WaterMarkHeight)
Set The watermark height (pixels).
|
void |
setWaterMarkUrl(String WaterMarkUrl)
Set The URL of the watermark image, which must be in PNG, JPG, or JPEG format and cannot exceed 5 MB.
|
void |
setWaterMarkWidth(Long WaterMarkWidth)
Set The watermark width (pixels).
|
void |
setZOrder(Long ZOrder)
Set The image layer of the watermark.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public McuWaterMarkImage()
public McuWaterMarkImage(McuWaterMarkImage source)
public String getWaterMarkUrl()
public void setWaterMarkUrl(String WaterMarkUrl)
WaterMarkUrl
- The URL of the watermark image, which must be in PNG, JPG, or JPEG format and cannot exceed 5 MB.public Long getWaterMarkWidth()
public void setWaterMarkWidth(Long WaterMarkWidth)
WaterMarkWidth
- The watermark width (pixels).public Long getWaterMarkHeight()
public void setWaterMarkHeight(Long WaterMarkHeight)
WaterMarkHeight
- The watermark height (pixels).public Long getLocationX()
public void setLocationX(Long LocationX)
LocationX
- The horizontal offset (pixels) of the watermark.public Long getLocationY()
public void setLocationY(Long LocationY)
LocationY
- The vertical offset (pixels) of the watermark.public Long getZOrder()
public void setZOrder(Long ZOrder)
ZOrder
- The image layer of the watermark. If you do not pass this parameter, 0 will be used.Copyright © 2024. All rights reserved.