![]() |
NDEVR
API Documentation
|
Options for configuring random color generation with custom hue and brightness constraints. More...
Public Types | |
| enum | HueStyle { e_unset , e_monochrome , e_red , e_orange , e_yellow , e_green , e_blue , e_purple , e_pink } |
| Constrains the hue family for generated colors. More... | |
| enum | LuminosityStyle { e_random , e_bright , e_light , e_dark } |
| Controls the brightness level of generated colors. More... | |
Public Member Functions | |
| RandomColorOptions () | |
| Constructs default random color options. | |
| RandomColorOptions (HueStyle hue, LuminosityStyle style) | |
| Constructs random color options with the given hue and luminosity style. | |
Public Attributes | |
| int | hue |
| Numeric hue value override, or Constant<int>::Invalid if unset. | |
| HueStyle | hue_name |
| The named hue family constraint. | |
| LuminosityStyle | luminosity |
| The desired luminosity style. | |
| size_t | seed |
| Seed for the random number generator. | |
Options for configuring random color generation with custom hue and brightness constraints.
Definition at line 13 of file RandomColorGenerator.h.
Constrains the hue family for generated colors.
Definition at line 24 of file RandomColorGenerator.h.
Controls the brightness level of generated colors.
| Enumerator | |
|---|---|
| e_random | Randomly selected brightness. |
| e_bright | Bright, vivid colors. |
| e_light | Light, pastel-like colors. |
| e_dark | Dark, muted colors. |
Definition at line 16 of file RandomColorGenerator.h.
| RandomColorOptions::RandomColorOptions | ( | HueStyle | hue, |
| LuminosityStyle | style ) |