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 VideoStreamZoomSettingsInheritance
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
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
zoomXdouble-
The horizontal zoom factor.
zoomYdouble-
The vertical zoom factor.
centerXdouble-
The horizontal center point (0.0 to 1.0).
centerYdouble-
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
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
Enabled
Gets or sets a value indicating whether the zoom is enabled.
public bool Enabled { get; set; }Property Value
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
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; }