FMX.Types.TInteractiveGesture
Delphi
TInteractiveGesture = (Zoom, Pan, Rotate, TwoFingerTap, PressAndTap, LongTap, DoubleTap);
C++
enum class DECLSPEC_DENUM TInteractiveGesture : unsigned int { Zoom, Pan, Rotate, TwoFingerTap, PressAndTap, LongTap, DoubleTap, igZoom _DEPRECATED_ATTRIBUTE3("Use TInteractiveGesture.Zoom") = 0, igPan _DEPRECATED_ATTRIBUTE3("Use TInteractiveGesture.Pan") = 1, igRotate _DEPRECATED_ATTRIBUTE3("Use TInteractiveGesture.Rotate") = 2, igTwoFingerTap _DEPRECATED_ATTRIBUTE3("Use TInteractiveGesture.TwoFingerTap") = 3, igPressAndtap _DEPRECATED_ATTRIBUTE3("Use TInteractiveGesture.PressAndtap") = 4, igLongTap _DEPRECATED_ATTRIBUTE3("Use TInteractiveGesture.LongTap") = 5, igDoubleTap _DEPRECATED_ATTRIBUTE3("Use TInteractiveGesture.DoubleTap") = 6 };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Enumerates the supported interactive gestures.
TInteractiveGesture enumerates the interactive gestures supported by FireMonkey.
The possible values of TInteractiveGesture are listed in the following table (for more information, see FMX.Types.TGestureEventInfo):
Value | Meaning |
---|---|
Zoom |
The "Zoom" and "Pinch" gestures; requires the use of two fingers. |
Pan |
The "Pan" gesture. Used for scrolling; requires just one finger. |
Rotate |
The "Rotate" gesture. Used to rotate UI elements; requires two fingers. |
TwoFingerTap |
The "Two Finger Tap" gesture; requires two fingers. |
PressAndTap |
The "Press And Tap" gesture; requires two fingers, one to hold pressed and one to tap. |
LongTap |
The "Long Tap" gesture (also known as "Tap and hold", "Long Press", or "Press"); requires two fingers, one to hold pressed and one to tap. Used to show the Magnifier Glass for some controls (text controls like TMemo). |
DoubleTap |
Similar to a double-click. One of the basic survival rules in ZombieLand. |