Class VideoEffectPosterize
Posterize effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class VideoEffectPosterize : VideoEffect, IVideoEffectPosterize, IVideoEffect
Constructors
VideoEffectPosterize(int, int, string, TimeSpan, TimeSpan, bool)
Initializes a new instance of the VideoEffectPosterize class.
Declaration
public VideoEffectPosterize(int value = 50, int valueStop = 0, string name = "posterize", TimeSpan startTime = default, TimeSpan stopTime = default, bool enabled = true)
Parameters
Type | Name | Description |
---|---|---|
int | value | Posterize value. |
int | valueStop | Posterize stop value. |
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. |
bool | enabled | True to enable effects. |
Properties
Value
Gets or sets posterize value.
Declaration
public int Value { get; set; }
Property Value
Type | Description |
---|---|
int |
ValueStop
Gets or sets posterize stop value (optional).
Declaration
public int ValueStop { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
GetEffectType()
Gets type.
Declaration
public VideoEffectType GetEffectType()
Returns
Type | Description |
---|---|
VideoEffectType | The VideoEffectType. |