FMX.Types.TCustomGestureCollectionItem.Deviation

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Deviation: Integer read GetDeviation write SetDeviation default 20;

C++

__property int Deviation = {read=GetDeviation, write=SetDeviation, default=20};

Properties

Type Visibility Source Unit Parent
property public
FMX.Types.pas
FMX.Types.hpp
FMX.Types TCustomGestureCollectionItem

Description

Specifies the degree of accuracy (closeness) required so that a gesture is recognized after being drawn.

Use the value of the Deviation property to specify how close a collection point in a user-drawn gesture must be to the corresponding point in a saved gesture for the gesture to be recognized. Picture a gesture with each point in the collection surrounded by a circle. To be recognized, a collection point in a user-drawn gesture must lie within the circle of a sample point in the saved gesture. As the deviation is increased, the circles decrease in radius.

See Also