Click or drag to resize

MouseCallback Delegate

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

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public delegate void MouseCallback(
	MouseEventTypes event,
	int x,
	int y,
	MouseEventFlags flags,
	IntPtr userData
)

Parameters

event
Type: OpenCvSharpMouseEventTypes
one of MouseEventTypes
x
Type: SystemInt32
x-coordinates of mouse pointer in image coordinates
y
Type: SystemInt32
y-coordinates of mouse pointer in image coordinates
flags
Type: OpenCvSharpMouseEventFlags
a combination of MouseEventFlags
userData
Type: SystemIntPtr
See Also