FMX.Gestures.TCustomGestureRecognizer.RotateGesturePoints
Delphi
class function RotateGesturePoints(const Points, GesturePoints: array of TPointF; ErrorMargin: Integer; var Angle: Double): TGesturePointArray; static;
C++
static Fmx::Types::TGesturePointArray __fastcall RotateGesturePoints(const System::Types::TPointF *Points, const int Points_High, const System::Types::TPointF *GesturePoints, const int GesturePoints_High, int ErrorMargin, double &Angle);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Gestures.pas FMX.Gestures.hpp |
FMX.Gestures | TCustomGestureRecognizer |
Description
Returns a new gesture point list rotated by an angle.
RotateGesturePoints takes the following parameters:
Parameter | Description |
---|---|
Points
|
The array of 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. |
ErrorMargin
|
The maximum allowed error margin. |
Angle
|
The angle to rotate the points. |