Table of Contents

Class SubtitleDecoration

Namespace
VAST.Player
Assembly
VAST.UI.dll

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

string

Bold

Gets or sets whether the text is rendered in bold. Default is true.

public bool Bold { get; set; }

Property Value

bool

Color

Gets or sets the text color as an ARGB hex string. Default is "#FFFFFFFF" (white).

public string Color { get; set; }

Property Value

string

FontFamily

Gets or sets the font family name. Default is "Segoe UI".

public string FontFamily { get; set; }

Property Value

string

Italic

Gets or sets whether the text is rendered in italic. Default is false.

public bool Italic { get; set; }

Property Value

bool

OutlineColor

Gets or sets the text outline color as an ARGB hex string. Default is "#FF000000" (black).

public string OutlineColor { get; set; }

Property Value

string

OutlineWidth

Gets or sets the text outline width in pixels. Default is 0 (no outline).

public int OutlineWidth { get; set; }

Property Value

int

Size

Gets or sets the font size in points. Default is 32.

public float Size { get; set; }

Property Value

float