Class OverlayManagerImage
Overlay Manager image. Implements the IDisposable.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class OverlayManagerImage : IOverlayManagerElement, IDisposable
Constructors
OverlayManagerImage(SKBitmap, int, int, double)
Initializes a new instance of the OverlayManagerImage class.
Declaration
public OverlayManagerImage(SKBitmap image, int x, int y, double alpha = 1)
Parameters
Type | Name | Description |
---|---|---|
SKBitmap | image | The image. |
int | x | The x. |
int | y | The y. |
double | alpha | The alpha. |
OverlayManagerImage(Bitmap, int, int, double)
Initializes a new instance of the OverlayManagerImage class.
Declaration
public OverlayManagerImage(Bitmap image, int x, int y, double alpha = 1)
Parameters
Type | Name | Description |
---|---|---|
Bitmap | image | The image. |
int | x | The x. |
int | y | The y. |
double | alpha | The alpha. |
OverlayManagerImage(string, int, int, double)
Initializes a new instance of the OverlayManagerImage class.
Declaration
public OverlayManagerImage(string filename, int x, int y, double alpha = 1)
Parameters
Type | Name | Description |
---|---|---|
string | filename | The filename. |
int | x | The x. |
int | y | The y. |
double | alpha | The alpha. |
Fields
Lock
The lock object.
Declaration
public readonly object Lock
Field Value
Type | Description |
---|---|
object |
Properties
Alpha
Gets the alpha.
Declaration
public double Alpha { get; }
Property Value
Type | Description |
---|---|
double | The alpha. |
Cache
Gets or sets the cache.
Declaration
public object Cache { get; set; }
Property Value
Type | Description |
---|---|
object | The cache. |
Enabled
Gets or sets a value indicating whether this IOverlayManagerElement is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
|
EndTime
Gets or sets the end time (optional).
Declaration
public TimeSpan EndTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The end time. |
Height
Gets or sets the height.
Declaration
public int Height { get; set; }
Property Value
Type | Description |
---|---|
int | The height. |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string | The name. |
StartTime
Gets or sets the start time (optional).
Declaration
public TimeSpan StartTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The start time. |
Width
Gets or sets the width.
Declaration
public int Width { get; set; }
Property Value
Type | Description |
---|---|
int | The width. |
X
Gets or sets the X.
Declaration
public int X { get; set; }
Property Value
Type | Description |
---|---|
int | The x. |
Y
Gets or sets the Y.
Declaration
public int Y { get; set; }
Property Value
Type | Description |
---|---|
int | The y. |
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing |
|
~OverlayManagerImage()
Finalizes an instance of the OverlayManagerImage class.
Declaration
protected ~OverlayManagerImage()
GetImage()
Gets the image.
Declaration
public SKBitmap GetImage()
Returns
Type | Description |
---|---|
SKBitmap | Bitmap. |
Update(SKBitmap, int, int, double)
Updates the specified image.
Declaration
public void Update(SKBitmap image, int x, int y, double alpha = 1)
Parameters
Type | Name | Description |
---|---|---|
SKBitmap | image | The image. |
int | x | The x. |
int | y | The y. |
double | alpha | The alpha. |
Update(Bitmap, int, int, double)
Updates the specified image.
Declaration
public void Update(Bitmap image, int x, int y, double alpha = 1)
Parameters
Type | Name | Description |
---|---|---|
Bitmap | image | The image. |
int | x | The x. |
int | y | The y. |
double | alpha | The alpha. |
Update(string, int, int, double)
Updates the specified filename.
Declaration
public void Update(string filename, int x, int y, double alpha = 1)
Parameters
Type | Name | Description |
---|---|---|
string | filename | The filename. |
int | x | The x. |
int | y | The y. |
double | alpha | The alpha. |