Class ColorRamp
A row of colors to read by position, from 0 at the first stop to 1 at the last: a gauge that runs green to red, a heat map, a fading trail.
Assembly: DarkEffekt.Terminal.Core
Section titled “Assembly: DarkEffekt.Terminal.Core”public sealed class ColorRampProperties
Section titled “Properties”The space neighboring stops are mixed in.
public ColorMix Mix { get; set; }How the color moves between neighboring stops.
public ColorEase Ease { get; set; }The number of stops.
public int Count { get; }Methods
Section titled “Methods”At(float)
Section titled “At(float)”The color at a position. Below the first stop is the first, and above the last is the last.
public TermColor At(float position)Returns
Section titled “Returns”Parameters
Section titled “Parameters”| Type | Name |
|---|---|
System.Single |
position |