FMX.InertialMovement.TAniCalculations
Delphi
TAniCalculations = class(TPersistent)
C++
class PASCALIMPLEMENTATION TAniCalculations : public System::Classes::TPersistent
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.InertialMovement.pas FMX.InertialMovement.hpp |
FMX.InertialMovement | FMX.InertialMovement |
Description
Provides support for the inertial scrolling of the viewport window within the larger content. Scrolling can be managed with the mouse or finger.
TAniCalculations provides support for displaying content that is larger than the size of the viewport window. TAniCalculations enables the user to scroll the origin of the viewport window within the content view using the mouse or finger. The user, using the mouse or finger, can initialize scrolling and define moving parameters, then the viewport window can move inertially providing animation of scrolling.
Using Enabled you can enable or disable the animation of the inertial scrolling of the viewport window. By default, the viewport window "bounces" back when scrolling exceeds the bounds of the content. You can define the velocity of this "bouncing" using Elasticity.