FastLED 3.9.3
|
HSV color palette with 32 discrete values.
Definition at line 1300 of file colorutils.h.
#include <colorutils.h>
Public Member Functions | |
CHSVPalette32 () | |
Default constructor. | |
CHSVPalette32 (const CHSV &c00, const CHSV &c01, const CHSV &c02, const CHSV &c03, const CHSV &c04, const CHSV &c05, const CHSV &c06, const CHSV &c07, const CHSV &c08, const CHSV &c09, const CHSV &c10, const CHSV &c11, const CHSV &c12, const CHSV &c13, const CHSV &c14, const CHSV &c15) | |
Create palette from 16 CHSV values. | |
CHSVPalette32 (const CHSVPalette32 &rhs) | |
Copy constructor. | |
CHSVPalette32 & | operator= (const CHSVPalette32 &rhs) |
Copy constructor. | |
CHSVPalette32 (const TProgmemHSVPalette32 &rhs) | |
Create palette from palette stored in PROGMEM. | |
CHSVPalette32 & | operator= (const TProgmemHSVPalette32 &rhs) |
Create palette from palette stored in PROGMEM. | |
CHSV & | operator[] (uint8_t x) |
Create palette from palette stored in PROGMEM. | |
const CHSV & | operator[] (uint8_t x) const |
Create palette from palette stored in PROGMEM. | |
CHSV & | operator[] (int x) |
Create palette from palette stored in PROGMEM. | |
const CHSV & | operator[] (int x) const |
Create palette from palette stored in PROGMEM. | |
operator CHSV * () | |
Get the underlying pointer to the CHSV entries making up the palette. | |
bool | operator== (const CHSVPalette32 &rhs) const |
Check if two palettes have the same color entries. | |
bool | operator!= (const CHSVPalette32 &rhs) const |
Check if two palettes do not have the same color entries. | |
CHSVPalette32 (const CHSV &c1) | |
Create palette filled with one color. | |
CHSVPalette32 (const CHSV &c1, const CHSV &c2) | |
Create palette with a gradient from one color to another. | |
CHSVPalette32 (const CHSV &c1, const CHSV &c2, const CHSV &c3) | |
Create palette with three-color gradient. | |
CHSVPalette32 (const CHSV &c1, const CHSV &c2, const CHSV &c3, const CHSV &c4) | |
Create palette with four-color gradient. | |
Public Attributes | |
CHSV | entries [32] |
the color entries that make up the palette | |
|
inline |
Default constructor.
Definition at line 1305 of file colorutils.h.
|
inline |
Create palette from 16 CHSV values.
Definition at line 1311 of file colorutils.h.
|
inline |
Copy constructor.
Definition at line 1325 of file colorutils.h.
|
inline |
Create palette from palette stored in PROGMEM.
Definition at line 1337 of file colorutils.h.
|
inline |
Create palette filled with one color.
c1 | the color to fill the palette with |
Definition at line 1406 of file colorutils.h.
Create palette with a gradient from one color to another.
c1 | the starting color for the gradient |
c2 | the end color for the gradient |
Definition at line 1411 of file colorutils.h.
Create palette with three-color gradient.
c1 | the starting color for the gradient |
c2 | the middle color for the gradient |
c3 | the end color for the gradient |
Definition at line 1416 of file colorutils.h.
|
inline |
Create palette with four-color gradient.
c1 | the starting color for the gradient |
c2 | the first middle color for the gradient |
c3 | the second middle color for the gradient |
c4 | the end color for the gradient |
Definition at line 1421 of file colorutils.h.
|
inline |
Get the underlying pointer to the CHSV entries making up the palette.
Definition at line 1381 of file colorutils.h.
|
inline |
Check if two palettes do not have the same color entries.
Definition at line 1400 of file colorutils.h.
|
inline |
Copy constructor.
Definition at line 1330 of file colorutils.h.
|
inline |
Create palette from palette stored in PROGMEM.
Definition at line 1347 of file colorutils.h.
|
inline |
Check if two palettes have the same color entries.
Definition at line 1387 of file colorutils.h.
|
inline |
Create palette from palette stored in PROGMEM.
Definition at line 1370 of file colorutils.h.
|
inline |
Create palette from palette stored in PROGMEM.
Definition at line 1375 of file colorutils.h.
|
inline |
Create palette from palette stored in PROGMEM.
Definition at line 1359 of file colorutils.h.
|
inline |
Create palette from palette stored in PROGMEM.
Definition at line 1364 of file colorutils.h.
CHSV CHSVPalette32::entries[32] |
the color entries that make up the palette
Definition at line 1302 of file colorutils.h.