FMX.Gestures.TCustomGestureRecognizer.IsPointsGesture
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);
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 gesture.
IsPointsGesture takes the following parameters:
Parameter | Description |
---|---|
Points
|
The array of the incoming normalized points ready to be processed by the recognizer. |
GesturePoints
|
The array of incoming points that have passed an initial filter and are ready to be normalized. |
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. |