FMX.Gestures.TGestureEngine.IsGesture
Delphi
class function IsGesture(const Points: array of TPointF; const Items: TGestureList; GestureTypes: TGestureTypes; var EventInfo: TGestureEventInfo): Boolean; static;
C++
static bool __fastcall IsGesture(const System::Types::TPointF *Points, const int Points_High, System::Generics::Collections::TList__1<Fmx::Types::TCustomGestureCollectionItem*>* const Items, Fmx::Types::TGestureTypes GestureTypes, Fmx::Types::TGestureEventInfo &EventInfo);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Gestures.pas FMX.Gestures.hpp |
FMX.Gestures | TGestureEngine |
Description
Checks whether the provided list of points is recognized as a standard gesture.
IsGesture is a class function used to match a given array of points against a list of gestures.
If the array of points specified in the APoints parameter matches a gesture in the Items list, then IsGesture returns True and the EventInfo parameter is filled with the relevant gesture information. The GestureTypes parameter specifies the types of gestures to check against.