Skip to content
SiteEmail

cohtml.Net.GestureRecognizerBase

Inherits from SystemIDisposable

Inherited by cohtml.Net.FlingRecognizer, cohtml.Net.PanRecognizer, cohtml.Net.TapRecognizer

Name
classTouchEventDataWithCurrentPos
Name
virtual voidDispose()
GestureRecognizerStateGetState()
boolIsEnabled()
voidSetEnabled(bool enable)
intGetPriority()
voidSetGestureListener(IGestureListener listener)
virtual boolOnTouchesBegan(TouchEventData [] touches, ulong count)
virtual boolOnTouchesMoved(GestureRecognizerBase.TouchEventDataWithCurrentPos touches, ulong count)
virtual boolOnTouchesEnded(GestureRecognizerBase.TouchEventDataWithCurrentPos touches, ulong count)
virtual voidOnGestureRecognized()
virtual GestureTypeGetType()
floatGetTouchLocationX()
Returns the location of the touches. If there are multiple touches this will return the centroid of the location.
floatGetTouchLocationY()
voidRecognizeTouches(TouchEventData [] touches, ulong count)
Name
readonly intMAX_TRACKING_TOUCHES
Name
boolswigCMemOwn
virtual void Dispose()

Reimplemented by: cohtml.Net.TapRecognizer.Dispose, cohtml.Net.PanRecognizer.Dispose, cohtml.Net.FlingRecognizer.Dispose

GestureRecognizerState GetState()
bool IsEnabled()
void SetEnabled(
bool enable
)
int GetPriority()
void SetGestureListener(
IGestureListener listener
)
virtual bool OnTouchesBegan(
TouchEventData [] touches,
ulong count
)

Reimplemented by: cohtml.Net.TapRecognizer.OnTouchesBegan, cohtml.Net.PanRecognizer.OnTouchesBegan, cohtml.Net.FlingRecognizer.OnTouchesBegan

virtual bool OnTouchesMoved(
GestureRecognizerBase.TouchEventDataWithCurrentPos touches,
ulong count
)

Reimplemented by: cohtml.Net.PanRecognizer.OnTouchesMoved, cohtml.Net.FlingRecognizer.OnTouchesMoved

virtual bool OnTouchesEnded(
GestureRecognizerBase.TouchEventDataWithCurrentPos touches,
ulong count
)

Reimplemented by: cohtml.Net.TapRecognizer.OnTouchesEnded, cohtml.Net.PanRecognizer.OnTouchesEnded, cohtml.Net.FlingRecognizer.OnTouchesEnded

virtual void OnGestureRecognized()

Reimplemented by: cohtml.Net.TapRecognizer.OnGestureRecognized, cohtml.Net.PanRecognizer.OnGestureRecognized, cohtml.Net.FlingRecognizer.OnGestureRecognized

virtual GestureType GetType()

Reimplemented by: cohtml.Net.TapRecognizer.GetType, cohtml.Net.PanRecognizer.GetType, cohtml.Net.FlingRecognizer.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
)
static readonly int MAX_TRACKING_TOUCHES = cohtmlNativePINVOKE.GestureRecognizerBase_MAX_TRACKING_TOUCHES_get();
bool swigCMemOwn;