roo_display
API Documentation for roo_display
Loading...
Searching...
No Matches
roo_display::Grayscale4 Class Reference

#include <color_modes.h>

Public Member Functions

constexpr Color toArgbColor (uint8_t in) const
 
constexpr uint8_t fromArgbColor (Color color) const
 
constexpr TransparencyMode transparency () const
 

Static Public Attributes

static const int8_t bits_per_pixel = 4
 

Detailed Description

Definition at line 356 of file color_modes.h.

Member Function Documentation

◆ fromArgbColor()

◆ toArgbColor()

constexpr Color roo_display::Grayscale4::toArgbColor ( uint8_t  in) const
inlineconstexpr

Definition at line 360 of file color_modes.h.

◆ transparency()

constexpr TransparencyMode roo_display::Grayscale4::transparency ( ) const
inlineconstexpr

Definition at line 372 of file color_modes.h.

References roo_display::kNone.

Field Documentation

◆ bits_per_pixel

const int8_t roo_display::Grayscale4::bits_per_pixel = 4
static

Definition at line 358 of file color_modes.h.


The documentation for this class was generated from the following file: