Class StaticTextFallbackSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Configuration for static text fallback.
public class StaticTextFallbackSettings : FallbackSwitchSettingsBaseInheritance
Inherited Members
Constructors
StaticTextFallbackSettings()
Initializes a new instance of the VisioForge.Core.Types.X.Sources.StaticTextFallbackSettings class.
public StaticTextFallbackSettings()Properties
BackgroundColor
Gets or sets the background color. Default is Black.
public SKColor BackgroundColor { get; set; }Property Value
CenterAlign
Gets or sets whether the text position is relative to center. Default is true.
public bool CenterAlign { get; set; }Property Value
FontFamily
Gets or sets the font family name. Default is "Arial".
public string FontFamily { get; set; }Property Value
FontSize
Gets or sets the font size. Default is 24.
public float FontSize { get; set; }Property Value
FontStyle
Gets or sets the font style. Default is Normal.
public FontStyle FontStyle { get; set; }Property Value
Position
Gets or sets the text position relative to the video frame. X and Y values are percentages (0.0 to 1.0). Default is center (0.5, 0.5).
public SKPoint Position { get; set; }Property Value
Text
Gets or sets the fallback text to display.
public string Text { get; set; }Property Value
TextColor
Gets or sets the text color. Default is White.
public SKColor TextColor { get; set; }