Vcl.Touch.Gestures.TStandardGestureData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TStandardGestureData = record
    Points: TGesturePointArray;
    GestureID: TGestureID;
    Options: TGestureOptions;
    Deviation: Integer;
    ErrorMargin: Integer;
  end;

C++

struct DECLSPEC_DRECORD TStandardGestureData
{
public:
    Vcl::Controls::TGesturePointArray Points;
    Vcl::Controls::TGestureID GestureID;
    Vcl::Controls::TGestureOptions Options;
    int Deviation;
    int ErrorMargin;
};

Properties

Type Visibility Source Unit Parent
record
struct
public
Vcl.Touch.Gestures.pas
Vcl.Touch.Gestures.hpp
Vcl.Touch.Gestures Vcl.Touch.Gestures

Description

Describes a standard gesture.

TStandardGestureData is a record that contains data used to recognize a standard gesture. TStandardGestureData is used within the Gestures unit to declare all standard gestures in the VCL framework. The following table lists the fields that make up a TStandardGestureData record.



Field Description

Points

A TGesturePointArray field containing all the points that must be matched to recognize the gesture.

GestureID

The ID of the gesture described by this TStandardGestureData record.

Options

A TGestureOptions set containing the options used when recognizing the gesture.

Deviation

The maximum deviation allowed by the gesture.

ErrorMargin

The maximum allowed error margin.



See Also