Click or drag to resize

Cv2SetMouseCallback Method

Sets the callback function for mouse events occuting within the specified window.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public static void SetMouseCallback(
	string windowName,
	CvMouseCallback onMouse
)

Parameters

windowName
Type: SystemString
Name of the window.
onMouse
Type: OpenCvSharpCvMouseCallback
Reference to the function to be called every time mouse event occurs in the specified window.
See Also