Table of Contents

Class SpringWithVelocityAnimator

Namespace
DrawnUi.Draw
Assembly
DrawnUi.Maui.dll
public class SpringWithVelocityAnimator : SkiaValueAnimator, ISkiaAnimator, IDisposable
Inheritance
SpringWithVelocityAnimator
Implements
Inherited Members
Extension Methods

Constructors

SpringWithVelocityAnimator(IDrawnBase)

public SpringWithVelocityAnimator(IDrawnBase parent)

Parameters

parent IDrawnBase

Properties

Parameters

public SpringTimingParameters Parameters { get; set; }

Property Value

SpringTimingParameters

Methods

Initialize(float, float, float, Spring, float)

public void Initialize(float restOffset, float position, float velocity, Spring spring, float thresholdStop = 0.5)

Parameters

restOffset float
position float
velocity float
spring Spring
thresholdStop float

UpdateValue(long, long)

Update mValue using time distance between rendered frames. Return true if anims is finished.

protected override bool UpdateValue(long deltaT, long deltaFromStart)

Parameters

deltaT long
deltaFromStart long

Returns

bool