Table of Contents

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

ColorInterpolator

Methods

Interpolate(Color, Color, double)

Computes the interpolated value between from and to.

public Color Interpolate(Color from, Color to, double t)

Parameters

from Color
to Color
t double

Returns

Color