Class SubtitleDecoration
Provides styling options for subtitle text rendering in the media player.
public class SubtitleDecoration
- Inheritance
-
SubtitleDecoration
- Inherited Members
Constructors
SubtitleDecoration()
public SubtitleDecoration()
Properties
BackgroundColor
Gets or sets the background color as an ARGB hex string. Default is "#00000000" (transparent).
public string BackgroundColor { get; set; }
Property Value
Bold
Gets or sets whether the text is rendered in bold. Default is true.
public bool Bold { get; set; }
Property Value
Color
Gets or sets the text color as an ARGB hex string. Default is "#FFFFFFFF" (white).
public string Color { get; set; }
Property Value
FontFamily
Gets or sets the font family name. Default is "Segoe UI".
public string FontFamily { get; set; }
Property Value
Italic
Gets or sets whether the text is rendered in italic. Default is false.
public bool Italic { get; set; }
Property Value
OutlineColor
Gets or sets the text outline color as an ARGB hex string. Default is "#FF000000" (black).
public string OutlineColor { get; set; }
Property Value
OutlineWidth
Gets or sets the text outline width in pixels. Default is 0 (no outline).
public int OutlineWidth { get; set; }
Property Value
Size
Gets or sets the font size in points. Default is 32.
public float Size { get; set; }