#include <palette.h>
Definition at line 100 of file palette.h.
◆ DynamicPalette() [1/2]
template<typename... R>
eu::core::DynamicPalette::DynamicPalette |
( |
const std::string & |
n, |
|
|
const Rgbi & |
c0, |
|
|
const R &... |
c |
|
) |
| |
|
inline |
◆ DynamicPalette() [2/2]
eu::core::DynamicPalette::DynamicPalette |
( |
const std::string & |
n, |
|
|
const std::vector< Rgbi > & |
c |
|
) |
| |
◆ create_empty()
DynamicPalette eu::core::DynamicPalette::create_empty |
( |
const std::string & |
name | ) |
|
|
static |
Create a empty palette with a name.
- Parameters
-
name | the name of the palette |
- Returns
- a empty palette
Definition at line 83 of file palette.cc.
◆ create_rainbow() [1/2]
DynamicPalette eu::core::DynamicPalette::create_rainbow |
( |
int |
count, |
|
|
const Angle & |
from, |
|
|
const Angle & |
to, |
|
|
float |
saturation, |
|
|
float |
lightness |
|
) |
| |
|
static |
◆ create_rainbow() [2/2]
DynamicPalette eu::core::DynamicPalette::create_rainbow |
( |
int |
count, |
|
|
float |
saturation = 0.5f , |
|
|
float |
lightness = 0.5f |
|
) |
| |
|
static |
◆ to_palette()
Palette eu::core::DynamicPalette::to_palette |
( |
| ) |
const |
◆ colors
std::vector<Rgbi> eu::core::DynamicPalette::colors |
list of the colors
Definition at line 105 of file palette.h.
◆ name
std::string eu::core::DynamicPalette::name |
The documentation for this struct was generated from the following files: