public class SubtitleFontConf extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
SubtitleFontConf()  | 
SubtitleFontConf(SubtitleFontConf 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 | 
getBackgroundAlpha()
Get Background transparency, a number from 0-100. 
 | 
String | 
getBackgroundColor()
Get The background color is represented by 6 RGB hexadecimal characters. 
 | 
Long | 
getCharactersPerLine()
Get Number of characters per line. 
 | 
Long | 
getLines()
Get Rows. 
 | 
Long | 
getLineSpacing()
Get Line spacing. 
 | 
Long | 
getMargins()
Get Margins. 
 | 
String | 
getPreviewContent()
Get Preview copy. 
 | 
Long | 
getPreviewWindowHeight()
Get Preview window height. 
 | 
Long | 
getPreviewWindowWidth()
Get Preview window width. 
 | 
String | 
getSourceTextFont()
Get Original font Helvetica: simhei.ttf Song Dynasty: simsun.ttc Dynacw Diamond Black: hkjgh.ttf Helvetica font: helvetica.ttf; Need to be set in Source or Source+Target mode 
 | 
String | 
getTextColor()
Get Font color is represented by 6 RGB hexadecimal characters. 
 | 
String | 
getTranslatedTextFont()
Get Translation language font, the enumeration value is the same as Font, the fonts supported by the language need to be distinguished; TextColor needs to be set in Target or Source+Target mode 
 | 
void | 
setBackgroundAlpha(Long BackgroundAlpha)
Set Background transparency, a number from 0-100. 
 | 
void | 
setBackgroundColor(String BackgroundColor)
Set The background color is represented by 6 RGB hexadecimal characters. 
 | 
void | 
setCharactersPerLine(Long CharactersPerLine)
Set Number of characters per line. 
 | 
void | 
setLines(Long Lines)
Set Rows. 
 | 
void | 
setLineSpacing(Long LineSpacing)
Set Line spacing. 
 | 
void | 
setMargins(Long Margins)
Set Margins. 
 | 
void | 
setPreviewContent(String PreviewContent)
Set Preview copy. 
 | 
void | 
setPreviewWindowHeight(Long PreviewWindowHeight)
Set Preview window height. 
 | 
void | 
setPreviewWindowWidth(Long PreviewWindowWidth)
Set Preview window width. 
 | 
void | 
setSourceTextFont(String SourceTextFont)
Set Original font Helvetica: simhei.ttf Song Dynasty: simsun.ttc Dynacw Diamond Black: hkjgh.ttf Helvetica font: helvetica.ttf; Need to be set in Source or Source+Target mode 
 | 
void | 
setTextColor(String TextColor)
Set Font color is represented by 6 RGB hexadecimal characters. 
 | 
void | 
setTranslatedTextFont(String TranslatedTextFont)
Set Translation language font, the enumeration value is the same as Font, the fonts supported by the language need to be distinguished; TextColor needs to be set in Target or Source+Target mode 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SubtitleFontConf()
public SubtitleFontConf(SubtitleFontConf source)
public Long getLineSpacing()
public void setLineSpacing(Long LineSpacing)
LineSpacing - Line spacing.public Long getMargins()
public void setMargins(Long Margins)
Margins - Margins.public Long getLines()
public void setLines(Long Lines)
Lines - Rows.public Long getCharactersPerLine()
public void setCharactersPerLine(Long CharactersPerLine)
CharactersPerLine - Number of characters per line.public String getSourceTextFont()
public void setSourceTextFont(String SourceTextFont)
SourceTextFont - Original font Helvetica: simhei.ttf Song Dynasty: simsun.ttc Dynacw Diamond Black: hkjgh.ttf Helvetica font: helvetica.ttf; Need to be set in Source or Source+Target modepublic String getTextColor()
public void setTextColor(String TextColor)
TextColor - Font color is represented by 6 RGB hexadecimal characters.public String getBackgroundColor()
public void setBackgroundColor(String BackgroundColor)
BackgroundColor - The background color is represented by 6 RGB hexadecimal characters.public Long getBackgroundAlpha()
public void setBackgroundAlpha(Long BackgroundAlpha)
BackgroundAlpha - Background transparency, a number from 0-100.public String getPreviewContent()
public void setPreviewContent(String PreviewContent)
PreviewContent - Preview copy.public Long getPreviewWindowHeight()
public void setPreviewWindowHeight(Long PreviewWindowHeight)
PreviewWindowHeight - Preview window height.public Long getPreviewWindowWidth()
public void setPreviewWindowWidth(Long PreviewWindowWidth)
PreviewWindowWidth - Preview window width.public String getTranslatedTextFont()
public void setTranslatedTextFont(String TranslatedTextFont)
TranslatedTextFont - Translation language font, the enumeration value is the same as Font, the fonts supported by the language need to be distinguished; TextColor needs to be set in Target or Source+Target modeCopyright © 2025. All rights reserved.