One text decoration line (underline, overline, ...).
More...
#include <gui_core/style/gui_style_text.h>
One text decoration line (underline, overline, ...).
Drawn only when thickness > 0. CSS: text-<under|over|through|bottom>line-<thickness|offset|style>; its color is StyleState::decorationColors.
◆ GetHashCode()
| uint64_t tachyon::TextDecoration::GetHashCode |
( |
| ) |
const |
|
noexcept |
◆ operator==()
| bool tachyon::TextDecoration::operator== |
( |
const TextDecoration & | other | ) |
const |
|
inlinenoexcept |
◆ thickness
| uint16_t tachyon::TextDecoration::thickness = 0 |
line thickness in CSS px; 0 = no line
◆ offset
| uint16_t tachyon::TextDecoration::offset = 0 |
CSS px from the default position; grows down for under / bottom lines, up otherwise.
◆ style
The documentation for this class was generated from the following file: