Click or drag to resize

CvMouseCallback Delegate

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

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public delegate void CvMouseCallback(
	MouseEvent event,
	int x,
	int y,
	MouseEvent flags
)

Parameters

event
Type: OpenCvSharpMouseEvent
one of CV_EVENT_
x
Type: SystemInt32
x-coordinates of mouse pointer in image coordinates
y
Type: SystemInt32
y-coordinates of mouse pointer in image coordinates
flags
Type: OpenCvSharpMouseEvent
a combination of CV_EVENT_FLAG
See Also