public class ComposeSubtitleStyle extends AbstractModel
header, skipSign
Constructor and Description |
---|
ComposeSubtitleStyle() |
ComposeSubtitleStyle(ComposeSubtitleStyle 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 |
getBorderColor()
Get The border color, whose format is the same as that for `FontColor`.
|
String |
getBorderWidth()
Get The subtitle border width.
|
String |
getBottomColor()
Get The text background color, whose format is the same as that for `FontColor`.
|
String |
getFontAlign()
Get The text alignment.
|
String |
getFontAlignMargin()
Get The margin for left/right align.
|
Long |
getFontBold()
Get Whether to bold the text (some fonts may not support bold).
|
String |
getFontColor()
Get The font color (#RRGGBBAA).
|
Long |
getFontItalic()
Get Whether to italicize the text (some fonts may not support italics).
|
String |
getFontSize()
Get The font size.
|
String |
getFontType()
Get The font type.
|
String |
getHeight()
Get The subtitle height.
|
String |
getMarginBottom()
Get The bottom margin.
|
void |
setBorderColor(String BorderColor)
Set The border color, whose format is the same as that for `FontColor`.
|
void |
setBorderWidth(String BorderWidth)
Set The subtitle border width.
|
void |
setBottomColor(String BottomColor)
Set The text background color, whose format is the same as that for `FontColor`.
|
void |
setFontAlign(String FontAlign)
Set The text alignment.
|
void |
setFontAlignMargin(String FontAlignMargin)
Set The margin for left/right align.
|
void |
setFontBold(Long FontBold)
Set Whether to bold the text (some fonts may not support bold).
|
void |
setFontColor(String FontColor)
Set The font color (#RRGGBBAA).
|
void |
setFontItalic(Long FontItalic)
Set Whether to italicize the text (some fonts may not support italics).
|
void |
setFontSize(String FontSize)
Set The font size.
|
void |
setFontType(String FontType)
Set The font type.
|
void |
setHeight(String Height)
Set The subtitle height.
|
void |
setMarginBottom(String MarginBottom)
Set The bottom margin.
|
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 ComposeSubtitleStyle()
public ComposeSubtitleStyle(ComposeSubtitleStyle source)
public String getHeight()
public void setHeight(String Height)
Height
- The subtitle height. Two formats are supported:
u200cpublic String getMarginBottom()
public void setMarginBottom(String MarginBottom)
MarginBottom
- The bottom margin. Two formats are supported:
u200cpublic String getFontType()
public void setFontType(String FontType)
FontType
- The font type. Valid values:
public String getFontSize()
public void setFontSize(String FontSize)
FontSize
- The font size. Two formats are supported:
u200cpublic Long getFontBold()
public void setFontBold(Long FontBold)
FontBold
- Whether to bold the text (some fonts may not support bold). Valid values:
public Long getFontItalic()
public void setFontItalic(Long FontItalic)
FontItalic
- Whether to italicize the text (some fonts may not support italics). Valid values:
public String getFontColor()
public void setFontColor(String FontColor)
FontColor
- The font color (#RRGGBBAA).
Default value: `0x000000FF` (black).
Note: `AA` in the color notation defines the opacity of the color. It's optional.public String getFontAlign()
public void setFontAlign(String FontAlign)
FontAlign
- The text alignment. Valid values:
public String getFontAlignMargin()
public void setFontAlignMargin(String FontAlignMargin)
FontAlignMargin
- The margin for left/right align.
public String getBorderWidth()
public void setBorderWidth(String BorderWidth)
BorderWidth
- The subtitle border width. Two formats are supported:
u200cpublic String getBorderColor()
public void setBorderColor(String BorderColor)
BorderColor
- The border color, whose format is the same as that for `FontColor`. This parameter is valid if `BorderWidth` is not `0`.public String getBottomColor()
public void setBottomColor(String BottomColor)
BottomColor
- The text background color, whose format is the same as that for `FontColor`.
The default value is an empty string, which means the subtitles will not have a background color.Copyright © 2024. All rights reserved.