mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 08:48:30 +00:00
18 lines
494 B
C#
18 lines
494 B
C#
using CUE.NET.Devices.Generic;
|
|
|
|
namespace CUE.NET.Gradients
|
|
{
|
|
/// <summary>
|
|
/// Represents a basic gradient.
|
|
/// </summary>
|
|
public interface IGradient
|
|
{
|
|
/// <summary>
|
|
/// Gets the color of the gradient on the specified offset.
|
|
/// </summary>
|
|
/// <param name="offset">The percentage offset to take the color from.</param>
|
|
/// <returns>The color at the specific offset.</returns>
|
|
CorsairColor GetColor(float offset);
|
|
}
|
|
}
|