Skip to content
SiteEmail

cohtml.InputSystem.GestureListener

A class managing and sending gesture events to a CohtmlView component.

Inherits from cohtml.Net.IGestureListener, SystemIDisposable

Name
virtual override voidOnPanRecognized(float gestureBeginPosX, float gestureBeginPosY, float currentPosX, float currentPosY, float deltaX, float deltaY)
Sends a gesture event to a CohtmlView component. Should be invoked when a Pan gesture event is recognized.
virtual override voidOnPanCompleted(float endPosX, float endPosY)
Sends a gesture event to a CohtmlView component. Should be invoked when a Pan gesture event is completed.
virtual override voidOnFlingCompleted(float endPosX, float endPosY, float flingStartX, float flingStartY, float flingMotionMs)
Sends a gesture event to a CohtmlView component. Should be invoked when a Fling gesture event is completed.
virtual override voidOnTapRecognized(float positionX, float positionY)
Sends a gesture event to a CohtmlView component. Should be invoked when a Tap gesture event is recognized.
Name
CohtmlViewTargetView
A reference to the CohtmlView component that receives a gesture event.

Public Functions inherited from cohtml.Net.IGestureListener

Name
virtual voidDispose()
IGestureListener()
delegate voidSwigDelegateIGestureListener_0(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, global.System.IntPtr swigId)
delegate voidSwigDelegateIGestureListener_1(float arg0, float arg1, global.System.IntPtr swigId)
delegate voidSwigDelegateIGestureListener_2(float arg0, float arg1, float arg2, float arg3, float arg4, global.System.IntPtr swigId)
delegate voidSwigDelegateIGestureListener_3(float arg0, float arg1, global.System.IntPtr swigId)

Protected Attributes inherited from cohtml.Net.IGestureListener

Name
boolswigCMemOwn
virtual override void OnPanRecognized(
float gestureBeginPosX,
float gestureBeginPosY,
float currentPosX,
float currentPosY,
float deltaX,
float deltaY
)

Sends a gesture event to a CohtmlView component. Should be invoked when a Pan gesture event is recognized.

Reimplements: cohtml.Net.IGestureListener.OnPanRecognized

virtual override void OnPanCompleted(
float endPosX,
float endPosY
)

Sends a gesture event to a CohtmlView component. Should be invoked when a Pan gesture event is completed.

Reimplements: cohtml.Net.IGestureListener.OnPanCompleted

virtual override void OnFlingCompleted(
float endPosX,
float endPosY,
float flingStartX,
float flingStartY,
float flingMotionMs
)

Sends a gesture event to a CohtmlView component. Should be invoked when a Fling gesture event is completed.

Reimplements: cohtml.Net.IGestureListener.OnFlingCompleted

virtual override void OnTapRecognized(
float positionX,
float positionY
)

Sends a gesture event to a CohtmlView component. Should be invoked when a Tap gesture event is recognized.

Reimplements: cohtml.Net.IGestureListener.OnTapRecognized

CohtmlView TargetView;

A reference to the CohtmlView component that receives a gesture event.