public class PullPushWatermarkInfo extends AbstractModel
Constructor and Description |
---|
PullPushWatermarkInfo() |
PullPushWatermarkInfo(PullPushWatermarkInfo 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 watermark height as a percentage of the video height.
|
Long |
getLocation()
Get The origin.
|
String |
getPictureUrl()
Get The watermark image URL.
|
Long |
getWidth()
Get The watermark width as a percentage of the video width.
|
Long |
getXPosition()
Get The horizontal offset (%) of the watermark.
|
Long |
getYPosition()
Get The vertical offset (%) of the watermark.
|
void |
setHeight(Long Height)
Set The watermark height as a percentage of the video height.
|
void |
setLocation(Long Location)
Set The origin.
|
void |
setPictureUrl(String PictureUrl)
Set The watermark image URL.
|
void |
setWidth(Long Width)
Set The watermark width as a percentage of the video width.
|
void |
setXPosition(Long XPosition)
Set The horizontal offset (%) of the watermark.
|
void |
setYPosition(Long YPosition)
Set The vertical offset (%) of the watermark.
|
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 PullPushWatermarkInfo()
public PullPushWatermarkInfo(PullPushWatermarkInfo source)
public String getPictureUrl()
public void setPictureUrl(String PictureUrl)
PictureUrl
- The watermark image URL.
Characters not allowed:
;(){}$>`#"'|public Long getXPosition()
public void setXPosition(Long XPosition)
XPosition
- The horizontal offset (%) of the watermark. The default value is 0.public Long getYPosition()
public void setYPosition(Long YPosition)
YPosition
- The vertical offset (%) of the watermark. The default value is 0.public Long getWidth()
public void setWidth(Long Width)
Width
- The watermark width as a percentage of the video width. To avoid distorted images, we recommend you specify only the width or height so that the other side can be scaled proportionally. By default, the original width of the watermark image is used.public Long getHeight()
public void setHeight(Long Height)
Height
- The watermark height as a percentage of the video height. To avoid distorted images, we recommend you specify only the width or height so that the other side can be scaled proportionally. By default, the original height of the watermark image is used.public Long getLocation()
public void setLocation(Long Location)
Location
- The origin. The default value is 0.
0: Top left corner
1: Top right corner
2: Bottom right corner
3: Bottom left cornerCopyright © 2023. All rights reserved.