Class IntInterpolator
- Namespace
- SharpConsoleUI.Animation
- Assembly
- SharpConsoleUI.dll
Interpolates between two int values with rounding.
public sealed class IntInterpolator : IInterpolator<int>
- Inheritance
-
IntInterpolator
- Implements
- Inherited Members
- Extension Methods
Fields
Instance
Singleton instance.
public static readonly IntInterpolator Instance
Field Value
Methods
Interpolate(int, int, double)
Computes the interpolated value between from and to.
public int Interpolate(int from, int to, double t)