Table of Contents

Class VideoStreamZoomSettings

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

Settings for static zoom transformation of the original video stream. This is applied before any overlays are drawn.

public class VideoStreamZoomSettings

Inheritance

Inherited Members

Constructors

VideoStreamZoomSettings()

Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.VideoStreamZoomSettings class.

public VideoStreamZoomSettings()

VideoStreamZoomSettings(double, double)

Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.VideoStreamZoomSettings class with specified zoom values.

public VideoStreamZoomSettings(double zoomX, double zoomY)

Parameters

zoomX double

The horizontal zoom factor.

zoomY double

The vertical zoom factor.

VideoStreamZoomSettings(double, double, double, double)

Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.VideoStreamZoomSettings class with specified zoom and center values.

public VideoStreamZoomSettings(double zoomX, double zoomY, double centerX, double centerY)

Parameters

zoomX double

The horizontal zoom factor.

zoomY double

The vertical zoom factor.

centerX double

The horizontal center point (0.0 to 1.0).

centerY double

The vertical center point (0.0 to 1.0).

Properties

CenterX

Gets or sets the horizontal center point for the zoom (0.0 to 1.0). A value of 0.5 means the center of the video.

public double CenterX { get; set; }

Property Value

double

CenterY

Gets or sets the vertical center point for the zoom (0.0 to 1.0). A value of 0.5 means the center of the video.

public double CenterY { get; set; }

Property Value

double

Enabled

Gets or sets a value indicating whether the zoom is enabled.

public bool Enabled { get; set; }

Property Value

bool

ZoomX

Gets or sets the horizontal zoom factor. A value of 1.0 means no zoom, values greater than 1.0 zoom in, values less than 1.0 zoom out.

public double ZoomX { get; set; }

Property Value

double

ZoomY

Gets or sets the vertical zoom factor. A value of 1.0 means no zoom, values greater than 1.0 zoom in, values less than 1.0 zoom out.

public double ZoomY { get; set; }

Property Value

double