#include <esp_hsv_color.h>
|
union { | |
|
struct { | |
|
union { | |
|
uint8_t hue | |
|
uint8_t h | |
|
} | | |
|
union { | |
|
uint8_t saturation | |
|
uint8_t s | |
|
} | | |
|
union { | |
|
uint8_t value | |
|
uint8_t v | |
|
} | | |
|
} | | |
|
uint8_t raw [3] | |
|
}; | | |
|
Definition at line 9 of file esp_hsv_color.h.
◆ ESPHSVColor() [1/2]
esphome::light::ESPHSVColor::ESPHSVColor |
( |
| ) |
|
|
inline |
◆ ESPHSVColor() [2/2]
esphome::light::ESPHSVColor::ESPHSVColor |
( |
uint8_t | hue, |
|
|
uint8_t | saturation, |
|
|
uint8_t | value ) |
|
inline |
◆ to_rgb()
Color esphome::light::ESPHSVColor::to_rgb |
( |
| ) |
const |
◆ [union]
uint8_t esphome::light::ESPHSVColor::h |
◆ hue
uint8_t esphome::light::ESPHSVColor::hue |
◆ raw
uint8_t esphome::light::ESPHSVColor::raw[3] |
uint8_t esphome::light::ESPHSVColor::s |
◆ saturation
uint8_t esphome::light::ESPHSVColor::saturation |
uint8_t esphome::light::ESPHSVColor::v |
◆ value
uint8_t esphome::light::ESPHSVColor::value |
The documentation for this struct was generated from the following files: