FMX.InertialMovement
Provides support for inertial moving of the scroll view window during scrolling within the larger content. Scrolling can be managed with the mouse or finger.
Among other things, the InertialMovement unit defines the constants described in the InertialMovement Constants table.
Package | fmx240.bpl |
---|
Classes
TAniCalculations | Provides support for the inertial scrolling of the viewport window within the larger content. Scrolling can be managed with the mouse or finger. |
TTarget | Forward declaration of the TAniCalculations.TTarget type, which is required for the C++ compiler. |
Types
TPointD | Defines the point coordinates in logical units. |
TRectD | Defines a rectangle with coordinates in logical units. |
Constants
DecelerationRateFast | DecelerationRateFast: Comp = 9.5; |
DecelerationRateNormal | DecelerationRateNormal: Comp = 1.95; |
DefaultDeadZone | DefaultDeadZone: Integer = 8; |
DefaultElasticity | DefaultElasticity: Integer = $64; |
DefaultIntervalOfAni | DefaultIntervalOfAni: Integer = $A; |
DefaultMaxVelocity | DefaultMaxVelocity: Integer = $1388; |
DefaultMinVelocity | DefaultMinVelocity: Integer = $A; |
DefaultStorageTime | DefaultStorageTime: Comp = 0.15; |
InertialMovement Constants
These constants define default values of specific TAniCalculations class properties:
Constant | Description |
---|---|
|
Determines the default deceleration rate of scroll view moving after the user lifts the finger (release the mouse button) that initiated the moving. |
|
A fast deceleration rate for scroll view moving. |
|
The default coefficient of border elasticity. |
|
The default minimal velocity of scroll view moving in pixels per second. |
|
The default maximal velocity of scroll view moving in pixels per second. |
|
Defines the default size of a small area where moving the mouse or finger is not treated as initialization of scrolling. |
|
The default time for storage of obtained trajectory points. These trajectory points are used to obtain the velocity and direction of inertial moving. |
|
Defines the default interval between successive updating of inertial moving pictures. |