Class VideoEffectPan
Pan effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class VideoEffectPan : VideoEffect, IVideoEffectPan, IVideoEffect
Constructors
VideoEffectPan(bool, string, TimeSpan, TimeSpan)
Initializes a new instance of the VideoEffectPan class.
Declaration
public VideoEffectPan(bool enabled, string name = "Pan", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
| Type | Name | Description |
|---|---|---|
| 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. |
StartHeight
Gets or sets start height position.
Declaration
public int StartHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StartWidth
Gets or sets start width position.
Declaration
public int StartWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StartX
Gets or sets start X position.
Declaration
public int StartX { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StartY
Gets or sets start Y position.
Declaration
public int StartY { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StopHeight
Gets or sets stop height position.
Declaration
public int StopHeight { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StopWidth
Gets or sets stop width position.
Declaration
public int StopWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StopX
Gets or sets stop X position.
Declaration
public int StopX { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
StopY
Gets or sets stop Y position.
Declaration
public int StopY { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
GetEffectType()
Gets type.
Declaration
public VideoEffectType GetEffectType()
Returns
| Type | Description |
|---|---|
| VideoEffectType | The VideoEffectType. |