cohtml.InputSystem.GestureListener
A class managing and sending gesture events to a CohtmlView component.
Inherits from cohtml.Net.IGestureListener, SystemIDisposable
Public Functions
Name | |
---|---|
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. |
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. |
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. |
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. |
Public Attributes
Name | |
---|---|
CohtmlView | TargetView A reference to the CohtmlView component that receives a gesture event. |
Additional inherited members
Public Functions inherited from cohtml.Net.IGestureListener
Name | |
---|---|
virtual void | Dispose() |
IGestureListener() | |
delegate void | SwigDelegateIGestureListener_0(float arg0, float arg1, float arg2, float arg3, float arg4, float arg5, global.System.IntPtr swigId) |
delegate void | SwigDelegateIGestureListener_1(float arg0, float arg1, global.System.IntPtr swigId) |
delegate void | SwigDelegateIGestureListener_2(float arg0, float arg1, float arg2, float arg3, float arg4, global.System.IntPtr swigId) |
delegate void | SwigDelegateIGestureListener_3(float arg0, float arg1, global.System.IntPtr swigId) |
Protected Attributes inherited from cohtml.Net.IGestureListener
Name | |
---|---|
bool | swigCMemOwn |
Public Functions Documentation
function OnPanRecognized
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
function OnPanCompleted
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
function OnFlingCompleted
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
function OnTapRecognized
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
Public Attributes Documentation
variable TargetView
CohtmlView TargetView;
A reference to the CohtmlView component that receives a gesture event.