Table of Contents

Class GradientHSL

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

Represents a gradient of HSL colors.

[Version(1, 0, 0)]
[Serializable]
public sealed class GradientHSL
Inheritance
GradientHSL
Inherited Members
Extension Methods

Constructors

GradientHSL()

Construct a new HSL gradient.

Methods

Evaluate(float)

Gives the HSL color in the gradient at the given time.

GetLerp(ColorHSL, ColorHSL)

Returns a gradient that represents a linear interpolation between two colors.

SampleEvenly(int, float)

Returns a list of HSL colors sampled evenly across the gradient.

SetKeys(IEnumerable<GradientHSLColorKey>)