Click or drag to resize

WindowSetMouseCallback Method

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

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void SetMouseCallback(
	MouseCallback onMouse,
	IntPtr userData = null
)

Parameters

onMouse
Type: OpenCvSharpMouseCallback
Reference to the function to be called every time mouse event occurs in the specified window.
userData (Optional)
Type: SystemIntPtr

[Missing <param name="userData"/> documentation for "M:OpenCvSharp.Window.SetMouseCallback(OpenCvSharp.MouseCallback,System.IntPtr)"]

See Also