Table of Contents

Class StaticTextFallbackSettings

Namespace
VisioForge.Core.Types.X.Sources
Assembly
VisioForge.Core.dll

Configuration for static text fallback.

public class StaticTextFallbackSettings : FallbackSwitchSettingsBase

Inheritance

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

SKColor

CenterAlign

Gets or sets whether the text position is relative to center. Default is true.

public bool CenterAlign { get; set; }

Property Value

bool

FontFamily

Gets or sets the font family name. Default is "Arial".

public string FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets the font size. Default is 24.

public float FontSize { get; set; }

Property Value

float

FontStyle

Gets or sets the font style. Default is Normal.

public FontStyle FontStyle { get; set; }

Property Value

FontStyle

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

SKPoint

Text

Gets or sets the fallback text to display.

public string Text { get; set; }

Property Value

string

TextColor

Gets or sets the text color. Default is White.

public SKColor TextColor { get; set; }

Property Value

SKColor