FMX.Gestures.TCustomGestureRecognizer.IsScratchout

De RAD Studio API Documentation
Aller à : navigation, rechercher

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);

Propriétés

Type Visibilité  Source Unité  Parent
function protected
FMX.Gestures.pas
FMX.Gestures.hpp
FMX.Gestures TCustomGestureRecognizer


Description

Renvoie la probabilité que les points entrants soient un mouvement "d'effacement".

IsScratchout prend les paramètres suivants :

Paramètre Description
Points Le tableau des points normalisés entrants prêts à être traités par le pilote de reconnaissance.
GestureID L'ID du mouvement attendu.
Deviation L'écart maximal autorisé.
ErrorMargin La marge d'erreur maximale autorisée.
Percentages Utilisé en interne pour voir la probabilité que certains points appartiennent au mouvement.

Voir aussi