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