Interface IVideoView
IVideoView interface.
Namespace: VisioForge.Core.Types
Assembly: VisioForge.Core.dll
Syntax
public interface IVideoView
Methods
Attach(IMPVCVECore)
Attaches parent.
Declaration
void Attach(IMPVCVECore parent)
Parameters
Type | Name | Description |
---|---|---|
IMPVCVECore | parent | Parent. |
CallInvoke(Delegate, params object[])
Calls the invoke.
Declaration
void CallInvoke(Delegate method, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
Delegate | method | The method. |
object[] | args | The arguments. |
CallRefresh()
Calls the refresh.
Declaration
void CallRefresh()
ClearUI()
Clears the UI.
Declaration
void ClearUI()
Detach(IMPVCVECore)
Detaches the specified parent.
Declaration
void Detach(IMPVCVECore parent)
Parameters
Type | Name | Description |
---|---|---|
IMPVCVECore | parent | The parent. |
GetBackgroundColor()
Gets the color of the background.
Declaration
SKColor GetBackgroundColor()
Returns
Type | Description |
---|---|
SKColor | SKColor. |
GetHandle()
Gets handle.
Declaration
nint GetHandle()
Returns
Type | Description |
---|---|
nint | Returns nint. |
GetInvokeRequired()
Gets the invoke required.
Declaration
bool GetInvokeRequired()
Returns
Type | Description |
---|---|
bool |
|
GetIsHandleCreated()
Gets the is handle created.
Declaration
bool GetIsHandleCreated()
Returns
Type | Description |
---|---|
bool |
|
GetSize()
Gets view size.
Declaration
Size GetSize()
Returns
Type | Description |
---|---|
Size | Returns Size. |
GetUIEngine()
Gets the UI engine.
Declaration
VideoViewUIEngine GetUIEngine()
Returns
Type | Description |
---|---|
VideoViewUIEngine | VideoViewUIEngine. |
InvokeStart()
Invokes Start().
Declaration
void InvokeStart()
InvokeStartComplete()
Invokes Start(), complete.
Declaration
void InvokeStartComplete()
InvokeStop()
Invokes Stop().
Declaration
void InvokeStop()
InvokeVideoRendererUpdate()
Invokes InvokeVideoRendererUpdate().
Declaration
void InvokeVideoRendererUpdate()
LogDialogClear()
Clears logs dialog.
Declaration
void LogDialogClear()
LogDialogClose()
Closes logs dialog.
Declaration
void LogDialogClose()
LogDialogError(string)
Logs the error in dialog.
Declaration
void LogDialogError(string msg)
Parameters
Type | Name | Description |
---|---|---|
string | msg | The message. |
PictureBoxCreate(int, int)
Create the PictureBox.
Declaration
void PictureBoxCreate(int width, int height)
Parameters
Type | Name | Description |
---|---|---|
int | width | The width. |
int | height | The height. |
PictureBoxDestroy()
Destroys the PictureBox.
Declaration
void PictureBoxDestroy()
PictureBoxExists()
Is the PictureBox exists.
Declaration
bool PictureBoxExists()
Returns
Type | Description |
---|---|
bool |
|
PictureBoxGetImage()
Gets the PictureBox image.
Declaration
Bitmap PictureBoxGetImage()
Returns
Type | Description |
---|---|
Bitmap | Bitmap. |
PictureBoxSetImage(Bitmap)
Set the image on PictureBox.
Declaration
void PictureBoxSetImage(Bitmap image)
Parameters
Type | Name | Description |
---|---|---|
Bitmap | image | The image. |
PushMouseButtonDown(int, int, MouseButton)
Pushes the mouse button down.
Declaration
void PushMouseButtonDown(int x, int y, MouseButton button)
Parameters
Type | Name | Description |
---|---|---|
int | x | The x. |
int | y | The y. |
MouseButton | button | The button. |
PushMouseButtonUp(int, int, MouseButton)
Pushes the mouse button up.
Declaration
void PushMouseButtonUp(int x, int y, MouseButton button)
Parameters
Type | Name | Description |
---|---|---|
int | x | The x. |
int | y | The y. |
MouseButton | button | The button. |
PushMouseMove(int, int)
Pushes the mouse move.
Declaration
void PushMouseMove(int x, int y)
Parameters
Type | Name | Description |
---|---|---|
int | x | The x. |
int | y | The y. |
ResizeRoundTo(int)
Resizes the VideoView round to value.
Declaration
void ResizeRoundTo(int round)
Parameters
Type | Name | Description |
---|---|---|
int | round | The value. |
SetHandle(nint)
Sets the handle.
Declaration
void SetHandle(nint handle)
Parameters
Type | Name | Description |
---|---|---|
nint | handle | The handle. |
ShowMessage(string)
Shows the message.
Declaration
MessageBoxResult ShowMessage(string message)
Parameters
Type | Name | Description |
---|---|---|
string | message | The message. |
Returns
Type | Description |
---|---|
MessageBoxResult | MessageBoxResult. |
Events
OnMouseButtonDown
Occurs when mouse button down.
Declaration
event EventHandler<MouseButtonEventArgs> OnMouseButtonDown
Event Type
Type | Description |
---|---|
EventHandler<MouseButtonEventArgs> |
OnMouseButtonUp
Occurs when mouse button up.
Declaration
event EventHandler<MouseButtonEventArgs> OnMouseButtonUp
Event Type
Type | Description |
---|---|
EventHandler<MouseButtonEventArgs> |
OnMouseMoved
Occurs when mouse moved.
Declaration
event EventHandler<MouseMoveEventArgs> OnMouseMoved
Event Type
Type | Description |
---|---|
EventHandler<MouseMoveEventArgs> |