public class CreateImageSettings extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateImageSettings() |
CreateImageSettings(CreateImageSettings 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 image’s height as a percentage of the video height.
|
String |
getImageContent()
Get Base64 encoded image content
|
String |
getImageType()
Get Image file format.
|
String |
getLocation()
Get Origin.
|
Long |
getWidth()
Get The watermark image’s width as a percentage of the video width.
|
Long |
getXPos()
Get The watermark’s horizontal distance from the origin as a percentage of the video width.
|
Long |
getYPos()
Get The watermark’s vertical distance from the origin as a percentage of the video height.
|
void |
setHeight(Long Height)
Set The watermark image’s height as a percentage of the video height.
|
void |
setImageContent(String ImageContent)
Set Base64 encoded image content
|
void |
setImageType(String ImageType)
Set Image file format.
|
void |
setLocation(String Location)
Set Origin.
|
void |
setWidth(Long Width)
Set The watermark image’s width as a percentage of the video width.
|
void |
setXPos(Long XPos)
Set The watermark’s horizontal distance from the origin as a percentage of the video width.
|
void |
setYPos(Long YPos)
Set The watermark’s vertical distance from the origin as a percentage of the video height.
|
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 CreateImageSettings()
public CreateImageSettings(CreateImageSettings source)
public String getImageType()
public void setImageType(String ImageType)
ImageType
- Image file format. Valid values: png, jpg.public String getImageContent()
public void setImageContent(String ImageContent)
ImageContent
- Base64 encoded image contentpublic String getLocation()
public void setLocation(String Location)
Location
- Origin. Valid values: TOP_LEFT, BOTTOM_LEFT, TOP_RIGHT, BOTTOM_RIGHT.public Long getXPos()
public void setXPos(Long XPos)
XPos
- The watermark’s horizontal distance from the origin as a percentage of the video width. Value range: 0-100. Default: 10.public Long getYPos()
public void setYPos(Long YPos)
YPos
- The watermark’s vertical distance from the origin as a percentage of the video height. Value range: 0-100. Default: 10.public Long getWidth()
public void setWidth(Long Width)
Width
- The watermark image’s width as a percentage of the video width. Value range: 0-100. Default: 10.
`0` means to scale the width proportionally to the height.
You cannot set both `Width` and `Height` to `0`.public Long getHeight()
public void setHeight(Long Height)
Height
- The watermark image’s height as a percentage of the video height. Value range: 0-100. Default: 10.
`0` means to scale the height proportionally to the width.
You cannot set both `Width` and `Height` to `0`.Copyright © 2024. All rights reserved.