Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::StylePaintDeclarations Struct Reference

Sparse paint attributes for an existing presentation part. More...

#include <style.hpp>

Public Member Functions

bool operator== (const StylePaintDeclarations &other) const =default

Public Attributes

std::optional< RgbColor > foreground
 RGB text color.
std::optional< RgbColor > background
 RGB fill color.
std::optional< bool > bold
 Explicit bold request.
std::optional< bool > italic
 Explicit italic request.
std::optional< bool > underline
 Explicit underline request.

Detailed Description

Sparse paint attributes for an existing presentation part.

Member Function Documentation

◆ operator==()

bool portals::StylePaintDeclarations::operator== ( const StylePaintDeclarations & other) const
default
Parameters
otherValue to compare.
Returns
Whether all attributes agree.

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