Class SVGOverlayVideoEffect
SVG overlay video effect.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class SVGOverlayVideoEffect : BaseVideoEffect
Constructors
SVGOverlayVideoEffect(string, string)
Initializes a new instance of the SVGOverlayVideoEffect class.
Declaration
public SVGOverlayVideoEffect(string filename, string name = "svg-overlay")
Parameters
| Type | Name | Description |
|---|---|---|
| string | filename | The filename. |
| string | name | The name. |
Fields
DefaultName
The default name.
Declaration
public static string DefaultName
Field Value
| Type | Description |
|---|---|
| string |
Properties
Data
Gets the SVG data.
Declaration
public string Data { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Filename
Gets or sets the SVG file location.
Declaration
public string Filename { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FitToFrame
Gets or sets a value indicating whether to fit the SVG to fill the whole frame.
Declaration
public bool FitToFrame { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Height
Gets or sets the height.
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The height. |
HeightRelative
Gets or sets the height relative to the display size.
Declaration
public float HeightRelative { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Width
Gets or sets the width.
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The width. |
WidthRelative
Gets or sets the width relative to the display size.
Declaration
public float WidthRelative { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
X
Gets or sets the x.
Declaration
public int X { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The x. |
XRelative
Gets or sets the X offset relative to the display size.
Declaration
public float XRelative { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Y
Gets or sets the y offsetruh nnn.
Declaration
public int Y { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The y. |
YRelative
Gets or sets the Y offset relative to the display size.
Declaration
public float YRelative { get; set; }
Property Value
| Type | Description |
|---|---|
| float |