Class InertiaAnimationBuilder
- Namespace
- Fantas
- Assembly
- Fantas.dll
public sealed class InertiaAnimationBuilder : Object
- Inheritance
-
InertiaAnimationBuilder
Constructors
InertiaAnimationBuilder()
public InertiaAnimationBuilder()
InertiaAnimationBuilder(float, float, float)
public InertiaAnimationBuilder(float decelerationRatio, float velocityMaxLimit, float velocityMinLimit)
Parameters
Properties
ContentSize
Scrollable content size
public SizeF ContentSize { get; set; }
Property Value
ViewportSize
Scrollable viewport size
public SizeF ViewportSize { get; set; }
Property Value
Methods
CreateInertiaAnimation(Vector2, PointF)
Create a inertial animation that decelerate to zero
public Animation CreateInertiaAnimation(Vector2 velocity, PointF position)