libepaper 2.0.0
A C++23 library for controlling Waveshare e-paper displays on Raspberry Pi, featuring transparent sleep/wake management and a fluent builder API.
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
epaper::LineStyleSpec Struct Reference

#include <styles.hpp>

Public Member Functions

constexpr LineStyleSpec (Color c, DotPixel w=DotPixel::Pixel1x1, LineStyle s=LineStyle::Solid) noexcept
 Construct a line style with specified parameters.
 

Public Attributes

Color color
 Line color.
 
DotPixel width
 Line width.
 
LineStyle style
 Line style (solid/dotted)
 

Constructor & Destructor Documentation

◆ LineStyleSpec()

constexpr epaper::LineStyleSpec::LineStyleSpec ( Color  c,
DotPixel  w = DotPixel::Pixel1x1,
LineStyle  s = LineStyle::Solid 
)
inlineconstexprnoexcept

Construct a line style with specified parameters.

Parameters
cLine color
wLine width (default: 1x1)
sLine style (default: Solid)

Member Data Documentation

◆ color

Color epaper::LineStyleSpec::color

◆ style

LineStyle epaper::LineStyleSpec::style

Line style (solid/dotted)

Examples
/mnt/nas/libepaper/include/epaper/draw/styles.hpp.

◆ width

DotPixel epaper::LineStyleSpec::width

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