Class Gesture.Gesture

Gesture Recognizer Base Class.

Base class for all Gesture Recognizers.

Inherits from:

  • DMC.ObjectBase
  • DMC.StatesMix

Fields

Gesture.Gesture.EVENT EVENT Name
Gesture.Gesture.GESTURE GESTURE Event
Gesture.Gesture.STATE STATE Event

Getters and Setters

.id () the id (string).
.delegate () a gesture delegate (object/table)
.view () the target view (Display Object).


Fields

Gesture.Gesture.EVENT
EVENT Name
Gesture.Gesture.GESTURE
GESTURE Event
Gesture.Gesture.STATE
STATE Event

Getters and Setters

.id ()
the id (string). this is useful to differentiate between different gestures attached to the same view object

Usage:

  • print( gesture.id )
  • gesture.id = "myid"
.delegate ()
a gesture delegate (object/table)

Usage:

  • print( gesture.delegate )
  • gesture.delegate = { shouldRecognizeWith=<func> }
.view ()
the target view (Display Object).

Usage:

  • print( gesture.view )
  • gesture.view = DisplayObject
generated by LDoc 1.4.3 Last updated 2015-05-14 11:55:03