public class CreateTextSettings extends AbstractModel
| Constructor and Description | 
|---|
| CreateTextSettings() | 
| CreateTextSettings(CreateTextSettings 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 | getFontColor()Get Font color, which is an RGB color value. | 
| Long | getFontSize()Get Font size. | 
| String | getLocation()Get Origin. | 
| String | getText()Get Text | 
| 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 | setFontColor(String FontColor)Set Font color, which is an RGB color value. | 
| void | setFontSize(Long FontSize)Set Font size. | 
| void | setLocation(String Location)Set Origin. | 
| void | setText(String Text)Set Text | 
| 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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic CreateTextSettings()
public CreateTextSettings(CreateTextSettings source)
public String getText()
public void setText(String Text)
Text - Textpublic 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 getFontSize()
public void setFontSize(Long FontSize)
FontSize - Font size. Value range: 25-50.public String getFontColor()
public void setFontColor(String FontColor)
FontColor - Font color, which is an RGB color value. Default value: 0x000000.Copyright © 2022. All rights reserved.