The default inertia calculation function.
Object.defineProperty(ControlInertiaScrollOptions.prototype, 'defaultCalculateInertia',
get: function()
)
static defaultCalculateInertia: CalculateInertiaCallback; // read-only
A CalculateInertiaCallback that uses a cubic Bézier function to calculate the inertia scroll offsets.
DefaultCalculateInertia is the default cubic Bézier inertia scroll function. It makes use of the values of DefaultBezierPoint1, DefaultBezierPoint2, DefaultDuration, and DefaultPower to return the new inertia scroll offset.
The Bézier function is defined by the four points (0,0)
, DefaultBezierPoint1, DefaultBezierPoint2, (1,1)
and defines the percent of total distance for the inertia animation.
This animation is modeled roughly after the iOS momentum scroll animation.
A custom CalculateInertiaCallback can be set to CalculateInertia. If CalculateInertia is null, DefaultCalculateInertia is used.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document