Vcl.Touch.Gestures.TGestureEngine.IsGesture
Delphi
class function IsGesture(const Points: array of TPoint; Items: TGestureList; GestureTypes: TGestureTypes; var EventInfo: TGestureEventInfo): Boolean;
C++
__classmethod bool __fastcall IsGesture(const System::Types::TPoint *Points, const int Points_High, System::Generics::Collections::TList__1<Vcl::Controls::TCustomGestureCollectionItem*>* Items, Vcl::Controls::TGestureTypes GestureTypes, Vcl::Controls::TGestureEventInfo &EventInfo);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Touch.Gestures.pas Vcl.Touch.Gestures.hpp |
Vcl.Touch.Gestures | TGestureEngine |
Description
Checks whether a given set of points identifies a real gesture.
IsGesture is a static method used to match a given array of points against a list of gestures. If the point array specified by 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.