Class StaticImageFallbackSettings
- Namespace
- VisioForge.Core.Types.X.Sources
- Assembly
- VisioForge.Core.dll
Configuration for static image fallback.
public class StaticImageFallbackSettings : FallbackSwitchSettingsBaseInheritance
Inherited Members
Constructors
StaticImageFallbackSettings()
Initializes a new instance of the VisioForge.Core.Types.X.Sources.StaticImageFallbackSettings class.
public StaticImageFallbackSettings()Properties
BackgroundColor
Gets or sets the background color when image doesn't fill the frame. Default is Black.
public SKColor BackgroundColor { get; set; }Property Value
ImagePath
Gets or sets the path to the fallback image file.
public string ImagePath { get; set; }Property Value
MaintainAspectRatio
Gets or sets whether to maintain the image aspect ratio when scaling. Default is true.
public bool MaintainAspectRatio { get; set; }Property Value
Position
Gets or sets the image position within 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
ScaleToFit
Gets or sets whether to scale the image to fit the video frame. Default is true.
public bool ScaleToFit { get; set; }