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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Vcl.Touch.Gestures.pas Vcl.Touch.Gestures.hpp |
Vcl.Touch.Gestures | TGestureEngine |
説明
指定されたポイントのセットが実際のジェスチャを識別するかをチェックします。
IsGesture メソッドは、指定されたポイントの配列をジェスチャのリストと一致させるのに使用する静的メソッドです。 APoints パラメータによって指定されたポイント配列が Items リストにあるジェスチャと一致する場合に、IsGesture は true を返し、EventInfo パラメータには関連するジェスチャ情報が入力されます。 GestureTypes パラメータは、チェックの対象となるジェスチャの型を指定します。