FMX.InertialMovement.TAniCalculations.DecelerationRate

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property DecelerationRate: Double read FDecelerationRate  write FDecelerationRate stored DecelerationRateStored nodefault;

C++

__property double DecelerationRate = {read=FDecelerationRate, write=FDecelerationRate, stored=DecelerationRateStored};

Properties

Type Visibility Source Unit Parent
property public
FMX.InertialMovement.pas
FMX.InertialMovement.hpp
FMX.InertialMovement TAniCalculations

Description

Determines the deceleration rate of inertial scrolling.

DecelerationRate is the deceleration rate of the scroll view moving after the user lifts the finger (releases the mouse) that has initiated the scrolling.

The DecelerationRateNormal and DecelerationRateFast constants can be used with this property.

The default DecelerationRateNormal = 1.95 value approximately corresponds to the DecelerationRate of native iOS inertial scrolling.