Content


NTL
Core
Color1D

Color1D


Describes color in 1D space or a color having X-coordinate.

You can find more information in comments below.

struct Color1D // Gradient point
{
    float Position; // Position in range 0..1
    nitisa::Color Color; // Point color
};
Namespace: nitisa
Include: Nitisa/Image/Color1D.h