#include <RandomColor.h>
◆ RandomColor()
| RandomColorGenerator::RandomColor::RandomColor |
( |
| ) |
|
◆ GetColor()
Gets a new random color.
- Parameters
-
| scheme | Which color schemed to use when generating the color. |
| luminosity | The desired luminosity of the color. |
◆ GetColors()
Generates multiple random colors.
- Parameters
-
| scheme | Which color schemed to use when generating the color. |
| luminosity | The desired luminosity of the color. |
| count | How many colors to generate |
Generates multiple random colors.
- Parameters
-
| scheme | Which color scheme to use when generating the color. |
| luminosity | The desired luminosity of the color. |
| count | How many colors to generate |
◆ HsvToColor()
| Color RandomColorGenerator::RandomColor::HsvToColor |
( |
int |
hue, |
|
|
int |
saturation, |
|
|
double |
value |
|
) |
| |
|
static |
Converts hue, saturation, and lightness to a color.
◆ PickHue()
| int RandomColorGenerator::RandomColor::PickHue |
( |
ColorScheme |
scheme | ) |
|
|
static |
The documentation for this class was generated from the following files: