FMX.Gestures.TCustomGestureRecognizer.IsScratchout

From RAD Studio API Documentation
Jump to: navigation, search

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

Properties

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

Description

Returns the probability that the incoming points are a "Scratch-out".

IsScratchout takes the following parameters:

Parameter Description
Points The array of incoming normalized points ready to be processed by the recognizer.
GestureID The ID of the expected gesture.
Deviation The maximum allowed deviation.
ErrorMargin The maximum allowed error margin.
Percentages Used internally to see the probability that certain points belong to the gesture.

See Also