FMX.Gestures.TCustomGestureRecognizer.IsPointsGesture

提供:RAD Studio API Documentation

Delphi

class function IsPointsGesture(const Points, GesturePoints: array of TPointF; GestureID: TGestureID;
Deviation, ErrorMargin: Integer; var Percentages: array of Double): Integer; static;

C++

static int __fastcall IsPointsGesture(const System::Types::TPointF *Points, const int Points_High, const System::Types::TPointF *GesturePoints, const int GesturePoints_High, Fmx::Types::TGestureID GestureID, int Deviation, int ErrorMargin, double *Percentages, const int Percentages_High);

プロパティ

種類 可視性 ソース ユニット 親
function protected
FMX.Gestures.pas
FMX.Gestures.hpp
FMX.Gestures TCustomGestureRecognizer


説明

入力される点の配列がジェスチャである確率を返します。

IsPointsGesture は次のパラメータを受け取ります。

パラメータ 説明
Points ジェスチャ レコグナイザで処理できる状態にある正規化済みの入力点の配列。
GesturePoints 初期フィルタを既に通過しいつでも正規化できる入力点の配列。
GestureID 予想されるジェスチャの ID。
Deviation 最大許容偏差。
ErrorMargin 最大許容誤差。
Percentages 特定の点がジェスチャに属する確率を参照するために内部的に使用。

関連項目