Class ApiDecoration
Represents text decoration settings for overlays or captions in a media stream. Specifies font, size, style, and color properties for rendered text.
public class ApiDecoration
- Inheritance
-
ApiDecoration
- Inherited Members
Constructors
ApiDecoration()
public ApiDecoration()
Properties
BackgroundColor
Gets or sets the background color as a hexadecimal ARGB color string. Default is "#00000000" (transparent black).
public string BackgroundColor { get; set; }
Property Value
Bold
Gets or sets a value indicating whether the text should be rendered in bold.
Default is false.
public bool Bold { get; set; }
Property Value
Color
Gets or sets the text color as a hexadecimal ARGB color string (e.g., "#FFFFFFFF" for white). Default is "#FFFFFFFF".
public string Color { get; set; }
Property Value
FontFamily
Gets or sets the font family name (e.g., "Arial", "Verdana"). Default is "Arial".
public string FontFamily { get; set; }
Property Value
Italic
Gets or sets a value indicating whether the text should be rendered in italic.
Default is false.
public bool Italic { get; set; }
Property Value
OutlineColor
Gets or sets the outline color as a hexadecimal ARGB color string. Default is "#FF000000" (black).
public string OutlineColor { get; set; }
Property Value
OutlineWidth
Gets or sets the 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 10.
public float Size { get; set; }