FMX.Gestures.TCustomGestureRecognizer.IsScratchout

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

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

プロパティ

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


説明

入力される点の配列が "スクラッチアウトされる" 確率を返します。

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

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

関連項目