Content


NTL
Core
CColor

CColor



Helper class-storage of information about color.

You can find more information in comments below.

class CColor
{
public:
    nitisa::Color const &Color;
    String const &Name;
    bool const &isStandard;
    bool const &isNone;

    CColor(const nitisa::Color &color, const String &name, const bool standard, const bool none); // Construct with specified color, its name, whether it is a standard color, whether it is not a color

    operator nitisa::Color() const; // Convert to Color
    operator String() const; // Convert to String
};
Namespace: nitisa
Include: Nitisa/Image/Colors.h