public class RawWatermarkParameter extends AbstractModel
Constructor and Description |
---|
RawWatermarkParameter() |
RawWatermarkParameter(RawWatermarkParameter 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 |
---|---|
String |
getCoordinateOrigin()
Get Origin position, which currently can only be:
TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text.
Default value: TopLeft.
|
RawImageWatermarkInput |
getImageTemplate()
Get Image watermark template.
|
String |
getType()
Get Watermark type.
|
String |
getXPos()
Get The horizontal position of the origin of the watermark relative to the origin of coordinates of the video.
|
String |
getYPos()
Get The vertical position of the origin of the watermark relative to the origin of coordinates of the video.
|
void |
setCoordinateOrigin(String CoordinateOrigin)
Set Origin position, which currently can only be:
TopLeft: the origin of coordinates is in the top-left corner of the video, and the origin of the watermark is in the top-left corner of the image or text.
Default value: TopLeft.
|
void |
setImageTemplate(RawImageWatermarkInput ImageTemplate)
Set Image watermark template.
|
void |
setType(String Type)
Set Watermark type.
|
void |
setXPos(String XPos)
Set The horizontal position of the origin of the watermark relative to the origin of coordinates of the video.
|
void |
setYPos(String YPos)
Set The vertical position of the origin of the watermark relative to the origin of coordinates of the video.
|
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 RawWatermarkParameter()
public RawWatermarkParameter(RawWatermarkParameter source)
public String getType()
public void setType(String Type)
Type
- Watermark type. Valid values:
public String getCoordinateOrigin()
public void setCoordinateOrigin(String CoordinateOrigin)
CoordinateOrigin
- Origin position, which currently can only be:
public String getXPos()
public void setXPos(String XPos)
XPos
- The horizontal position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
public String getYPos()
public void setYPos(String YPos)
YPos
- The vertical position of the origin of the watermark relative to the origin of coordinates of the video. % and px formats are supported:
public RawImageWatermarkInput getImageTemplate()
public void setImageTemplate(RawImageWatermarkInput ImageTemplate)
ImageTemplate
- Image watermark template. This field is required when `Type` is `image` and is invalid when `Type` is `text`.Copyright © 2023. All rights reserved.