Class VideoEffectZoom
Zoom effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class VideoEffectZoom : VideoEffect, IVideoEffectZoom, IVideoEffect
Constructors
VideoEffectZoom(double, double, int, int, bool, string, TimeSpan, TimeSpan)
Initializes a new instance of the VideoEffectZoom class.
Declaration
public VideoEffectZoom(double zoomX, double zoomY, int shiftX, int shiftY, bool enabled, string name = "Zoom", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
| Type | Name | Description |
|---|---|---|
| double | zoomX | Zoom X. |
| double | zoomY | Zoom Y. |
| int | shiftX | Shift X. |
| int | shiftY | Shift Y. |
| bool | enabled | True to enable effects. |
| string | name | Effect name. Can be used to get effect interface to control it. |
| TimeSpan | startTime | Start time. Use 0 to show effect always. |
| TimeSpan | stopTime | Stop time. Use 0 to show effect always. |
Properties
InterpolationMode
Gets or sets the interpolation mode.
Declaration
public VideoInterpolationMode InterpolationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| VideoInterpolationMode | The interpolation mode. |
ShiftX
Gets or sets shift X value.
Declaration
public int ShiftX { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ShiftY
Gets or sets shift Y value.
Declaration
public int ShiftY { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ZoomX
Gets or sets zoom X value.
Declaration
public double ZoomX { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
ZoomY
Gets or sets zoom Y value.
Declaration
public double ZoomY { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
GetEffectType()
Gets type.
Declaration
public VideoEffectType GetEffectType()
Returns
| Type | Description |
|---|---|
| VideoEffectType | The VideoEffectType. |