FMX.InertialMovement.TAniCalculations.Elasticity

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Elasticity: Double read FElasticity  write FElasticity stored ElasticityStored nodefault;

C++

__property double Elasticity = {read=FElasticity, write=FElasticity, stored=ElasticityStored};

Properties

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

Description

The coefficient of border elasticity.

By default, the scroll view "bounces" back when scrolling exceeds the bounds of the content. Elasticity defines the velocity of this "bouncing".

The default elasticity is defined as the DefaultElasticity constant.