FMX.Gestures.TCustomGestureRecognizer.RotatePoints
Delphi
function RotatePoints(const Points, GesturePoints: array of TPointF; ErrorMargin: Integer;
var Angle: Double): TGesturePointArray; virtual;
C++
virtual Fmx::Types::TGesturePointArray __fastcall RotatePoints(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 | public | FMX.Gestures.pas FMX.Gestures.hpp |
FMX.Gestures | TCustomGestureRecognizer |
Description
Returns a new gesture point list rotated by an angle.
RotatePoints 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 gesture points. |