Generates random colors based on configurable hue and luminosity settings.
More...
|
| static ColorMap | LoadColorBounds () |
| | Loads and returns the predefined color bounds dictionary for all hue styles.
|
Generates random colors based on configurable hue and luminosity settings.
- See also
- ColorPalettes, RGBColor
Definition at line 52 of file RandomColorGenerator.h.
◆ RandomColorGenerator()
Constructs a generator with the specified options.
- Parameters
-
| [in] | opt | The color generation options to use. |
Definition at line 75 of file RandomColorGenerator.h.
◆ LoadColorBounds()
| ColorMap RandomColorGenerator::LoadColorBounds |
( |
| ) |
|
|
static |
Loads and returns the predefined color bounds dictionary for all hue styles.
- Returns
- A ColorMap containing the hue, saturation, and brightness ranges for each hue style.
◆ randomColorRGB()
| RGBColor RandomColorGenerator::randomColorRGB |
( |
| ) |
const |
Generates a single random RGB color based on the current options.
- Returns
- A randomly generated RGBColor.
◆ randomColors()
Generates a buffer of random RGB colors.
- Parameters
-
| [in] | count | The number of colors to generate. |
- Returns
- A buffer containing the requested number of random colors.
◆ setOptions()
Replaces the current color generation options.
- Parameters
-
| [in] | ops | The new options to apply. |
Definition at line 87 of file RandomColorGenerator.h.
The documentation for this class was generated from the following file: