public class WatermarkConfig extends AbstractModel
Constructor and Description |
---|
WatermarkConfig() |
WatermarkConfig(WatermarkConfig 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 |
getHeight()
Get The watermark height, which is expressed as a percentage of the video height.
|
Float |
getLocationX()
Get The horizontal offset of the watermark, which is expressed as a percentage of the video width.
|
Float |
getLocationY()
Get The vertical offset of the watermark, which is expressed as a percentage of the video width.
|
String |
getUrl()
Get The URL of the watermark image.
|
Float |
getWidth()
Get The watermark width, which is expressed as a percentage of the video width.
|
void |
setHeight(Float Height)
Set The watermark height, which is expressed as a percentage of the video height.
|
void |
setLocationX(Float LocationX)
Set The horizontal offset of the watermark, which is expressed as a percentage of the video width.
|
void |
setLocationY(Float LocationY)
Set The vertical offset of the watermark, which is expressed as a percentage of the video width.
|
void |
setUrl(String Url)
Set The URL of the watermark image.
|
void |
setWidth(Float Width)
Set The watermark width, which is expressed as a percentage of the video width.
|
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 WatermarkConfig()
public WatermarkConfig(WatermarkConfig source)
public String getUrl()
public void setUrl(String Url)
Url
- The URL of the watermark image. Note: This field may return null, indicating that no valid values can be obtained.public Float getWidth()
public void setWidth(Float Width)
Width
- The watermark width, which is expressed as a percentage of the video width. Note: This field may return null, indicating that no valid values can be obtained.public Float getHeight()
public void setHeight(Float Height)
Height
- The watermark height, which is expressed as a percentage of the video height. Note: This field may return null, indicating that no valid values can be obtained.public Float getLocationX()
public void setLocationX(Float LocationX)
LocationX
- The horizontal offset of the watermark, which is expressed as a percentage of the video width. For example, 50 indicates that the watermark will appear in the middle horizontally. Value range: 0-100. Note: This field may return null, indicating that no valid values can be obtained.public Float getLocationY()
public void setLocationY(Float LocationY)
LocationY
- The vertical offset of the watermark, which is expressed as a percentage of the video width. For example, 50 indicates that the watermark will appear in the middle vertically. Value range: 0-100. Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.