Class VideoEffectRotate
Rotate effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class VideoEffectRotate : VideoEffect, IVideoEffectRotate, IVideoEffect
Constructors
VideoEffectRotate(bool, double, bool, string, TimeSpan, TimeSpan)
Initializes a new instance of the VideoEffectRotate class.
Declaration
public VideoEffectRotate(bool enabled, double angle, bool stretch, string name = "Rotate", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
Type | Name | Description |
---|---|---|
bool | enabled | True to enable effects. |
double | angle | Angle. |
bool | stretch | True to stretch video. |
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
Angle
Gets or sets degree.
Declaration
public double Angle { get; set; }
Property Value
Type | Description |
---|---|
double |
Stretch
Gets or sets a value indicating whether stretch enabled.
Declaration
public bool Stretch { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
GetEffectType()
Gets type.
Declaration
public VideoEffectType GetEffectType()
Returns
Type | Description |
---|---|
VideoEffectType | The VideoEffectType. |