Class ColorInterpolator
- Namespace
- SharpConsoleUI.Animation
- Assembly
- SharpConsoleUI.dll
Interpolates between two Color values by blending each RGB channel independently.
public sealed class ColorInterpolator : IInterpolator<Color>
- Inheritance
-
ColorInterpolator
- Implements
- Inherited Members
- Extension Methods
Fields
Instance
Singleton instance.
public static readonly ColorInterpolator Instance
Field Value
Methods
Interpolate(Color, Color, double)
Computes the interpolated value between from and to.
public Color Interpolate(Color from, Color to, double t)