cohtml.Net.GestureRecognizerBase
Inherits from SystemIDisposable
Inherited by cohtml.Net.FlingRecognizer, cohtml.Net.PanRecognizer, cohtml.Net.TapRecognizer
Public Classes
Section titled “Public Classes”| Name | |
|---|---|
| class | TouchEventDataWithCurrentPos |
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Dispose() |
| GestureRecognizerState | GetState() |
| bool | IsEnabled() |
| void | SetEnabled(bool enable) |
| int | GetPriority() |
| void | SetGestureListener(IGestureListener listener) |
| virtual bool | OnTouchesBegan(TouchEventData [] touches, ulong count) |
| virtual bool | OnTouchesMoved(GestureRecognizerBase.TouchEventDataWithCurrentPos touches, ulong count) |
| virtual bool | OnTouchesEnded(GestureRecognizerBase.TouchEventDataWithCurrentPos touches, ulong count) |
| virtual void | OnGestureRecognized() |
| virtual GestureType | GetType() |
| float | GetTouchLocationX() Returns the location of the touches. If there are multiple touches this will return the centroid of the location. |
| float | GetTouchLocationY() |
| void | RecognizeTouches(TouchEventData [] touches, ulong count) |
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| readonly int | MAX_TRACKING_TOUCHES |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| bool | swigCMemOwn |
Public Functions Documentation
Section titled “Public Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose()Reimplemented by: cohtml.Net.TapRecognizer.Dispose, cohtml.Net.PanRecognizer.Dispose, cohtml.Net.FlingRecognizer.Dispose
function GetState
Section titled “function GetState”GestureRecognizerState GetState()function IsEnabled
Section titled “function IsEnabled”bool IsEnabled()function SetEnabled
Section titled “function SetEnabled”void SetEnabled( bool enable)function GetPriority
Section titled “function GetPriority”int GetPriority()function SetGestureListener
Section titled “function SetGestureListener”void SetGestureListener( IGestureListener listener)function OnTouchesBegan
Section titled “function OnTouchesBegan”virtual bool OnTouchesBegan( TouchEventData [] touches, ulong count)Reimplemented by: cohtml.Net.TapRecognizer.OnTouchesBegan, cohtml.Net.PanRecognizer.OnTouchesBegan, cohtml.Net.FlingRecognizer.OnTouchesBegan
function OnTouchesMoved
Section titled “function OnTouchesMoved”virtual bool OnTouchesMoved( GestureRecognizerBase.TouchEventDataWithCurrentPos touches, ulong count)Reimplemented by: cohtml.Net.PanRecognizer.OnTouchesMoved, cohtml.Net.FlingRecognizer.OnTouchesMoved
function OnTouchesEnded
Section titled “function OnTouchesEnded”virtual bool OnTouchesEnded( GestureRecognizerBase.TouchEventDataWithCurrentPos touches, ulong count)Reimplemented by: cohtml.Net.TapRecognizer.OnTouchesEnded, cohtml.Net.PanRecognizer.OnTouchesEnded, cohtml.Net.FlingRecognizer.OnTouchesEnded
function OnGestureRecognized
Section titled “function OnGestureRecognized”virtual void OnGestureRecognized()Reimplemented by: cohtml.Net.TapRecognizer.OnGestureRecognized, cohtml.Net.PanRecognizer.OnGestureRecognized, cohtml.Net.FlingRecognizer.OnGestureRecognized
function GetType
Section titled “function GetType”virtual GestureType GetType()Reimplemented by: cohtml.Net.TapRecognizer.GetType, cohtml.Net.PanRecognizer.GetType, cohtml.Net.FlingRecognizer.GetType
function GetTouchLocationX
Section titled “function GetTouchLocationX”float GetTouchLocationX()Returns the location of the touches. If there are multiple touches this will return the centroid of the location.
function GetTouchLocationY
Section titled “function GetTouchLocationY”float GetTouchLocationY()function RecognizeTouches
Section titled “function RecognizeTouches”void RecognizeTouches( TouchEventData [] touches, ulong count)Public Attributes Documentation
Section titled “Public Attributes Documentation”variable MAX_TRACKING_TOUCHES
Section titled “variable MAX_TRACKING_TOUCHES”static readonly int MAX_TRACKING_TOUCHES = cohtmlNativePINVOKE.GestureRecognizerBase_MAX_TRACKING_TOUCHES_get();Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable swigCMemOwn
Section titled “variable swigCMemOwn”bool swigCMemOwn;© 2026 Coherent Labs. All rights reserved.