FMX.InertialMovement.TAniCalculations.TouchTracking
Delphi
property TouchTracking: TTouchTracking read FTouchTracking write SetTouchTracking default [ttVertical, ttHorizontal];
C++
__property System::Uitypes::TTouchTracking TouchTracking = {read=FTouchTracking, write=SetTouchTracking, default=3};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | FMX.InertialMovement.pas FMX.InertialMovement.hpp |
FMX.InertialMovement | TAniCalculations |
Description
Defines the possible directions of the inertial scrolling initiated by the touch input.
Tracking can be initiated by a finger or by the mouse. TouchTracking is used during calculations of the inertial scrolling trajectory.
The following constants, defined in the TTouchTracking type, can be used as follows:
| Constant | Meaning |
|---|---|
|
|
Vertical direction. |
|
|
Horizontal direction. |
The default TouchTracking is [ttVertical, ttHorizontal].