Class VideoStreamPanSettings
- Namespace
- VisioForge.Core.Types.X.VideoEffects
- Assembly
- VisioForge.Core.dll
Settings for static pan (translation) transformation of the original video stream. This is applied before any overlays are drawn.
public class VideoStreamPanSettingsInheritance
Inherited Members
Constructors
VideoStreamPanSettings()
Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.VideoStreamPanSettings class.
public VideoStreamPanSettings()VideoStreamPanSettings(double, double)
Initializes a new instance of the VisioForge.Core.Types.X.VideoEffects.VideoStreamPanSettings class with specified pan values.
public VideoStreamPanSettings(double panX, double panY)Parameters
Properties
Enabled
Gets or sets a value indicating whether the pan is enabled.
public bool Enabled { get; set; }Property Value
PanX
Gets or sets the horizontal pan offset in pixels. Positive values move the video to the right, negative values move it to the left.
public double PanX { get; set; }Property Value
PanY
Gets or sets the vertical pan offset in pixels. Positive values move the video down, negative values move it up.
public double PanY { get; set; }