Struct Set1

Inheritance Relationships

Base Type

Struct Documentation

struct Stock::Palettes::Set1 : public Palette

Qualitative palette Set1 from Colorbrewer

Public Types

enum Name

Friendly names that can be passed to operator[]() to retrieve the relevant color


enumerator RED
enumerator BLUE
enumerator GREEN
enumerator PURPLE
enumerator ORANGE
enumerator YELLOW
enumerator BROWN
enumerator PINK
enumerator GREY

Public Functions

inline Set1()
inline virtual Category getCategory() const override

Returns the category of the palette



inline virtual bool getColorBlindFriendly() const override

Returns whether the palette is confirmed as suitable for colorblind viewers

Protected Functions

inline virtual const std::vector<Color> &colors() const override