#include <display_color_utils.h>
Definition at line 10 of file display_color_utils.h.
◆ color_to_332()
static uint8_t esphome::display::ColorUtil::color_to_332 |
( |
Color |
color, |
|
|
ColorOrder |
color_order = ColorOrder::COLOR_ORDER_RGB |
|
) |
| |
|
inlinestatic |
◆ color_to_565()
static uint16_t esphome::display::ColorUtil::color_to_565 |
( |
Color |
color, |
|
|
ColorOrder |
color_order = ColorOrder::COLOR_ORDER_RGB |
|
) |
| |
|
inlinestatic |
◆ color_to_grayscale4()
static uint32_t esphome::display::ColorUtil::color_to_grayscale4 |
( |
Color |
color | ) |
|
|
inlinestatic |
◆ color_to_index8_palette888()
static uint8_t esphome::display::ColorUtil::color_to_index8_palette888 |
( |
Color |
color, |
|
|
const uint8_t * |
palette |
|
) |
| |
|
inlinestatic |
◆ index8_to_color_palette888()
static Color esphome::display::ColorUtil::index8_to_color_palette888 |
( |
uint8_t |
index, |
|
|
const uint8_t * |
palette |
|
) |
| |
|
inlinestatic |
◆ rgb332_to_color()
static Color esphome::display::ColorUtil::rgb332_to_color |
( |
uint8_t |
rgb332_color | ) |
|
|
inlinestatic |
◆ to_color()
static Color esphome::display::ColorUtil::to_color |
( |
uint32_t |
colorcode, |
|
|
ColorOrder |
color_order, |
|
|
ColorBitness |
color_bitness = ColorBitness::COLOR_BITNESS_888 , |
|
|
bool |
right_bit_aligned = true |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: