Show / Hide Table of Contents

Delegate MouseCallback

Delegate to be called every time mouse event occurs in the specified window.

Namespace: OpenCvSharp
Assembly: OpenCvSharp.dll
Syntax
public delegate void MouseCallback(MouseEventTypes event, int x, int y, MouseEventFlags flags, IntPtr userData);
Parameters
Type Name Description
MouseEventTypes event

one of MouseEventTypes

System.Int32 x

x-coordinates of mouse pointer in image coordinates

System.Int32 y

y-coordinates of mouse pointer in image coordinates

MouseEventFlags flags

a combination of MouseEventFlags

IntPtr userData
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX