|
TachyonUI 0.1.0
High-performance UI for building tools.
|
How a text block is laid out in its box; shared by all states of a Style. More...
#include <gui_core/style/gui_style_text.h>
Public Member Functions | |
| uint64_t | GetHashCode () const noexcept |
| bool | operator== (const TextLayoutStyle &other) const noexcept |
Public Attributes | |
| TextDirection | textDirection = TextDirection::Auto |
| CSS: direction. | |
| TextWrap | textWrapping = TextWrap::NoWrap |
| CSS: text-wrap. | |
| TextAlign | horizontalAlignment = TextAlign::Start |
| CSS: text-align. | |
| TextAlign | verticalAlignment = TextAlign::Start |
| Vertical position of the text (+ icon) block in its box; only Start / Center / End (and their aliases) apply. | |
| TextBaseline | baseline = TextBaseline::Alphabetic |
| CSS: -tachyon-text-baseline, dominant-baseline or vertical-align. | |
| TextOverflow | textOverflow = TextOverflow::Clip |
| CSS: text-overflow. | |
| WordWrap | wrapMode = WordWrap::Normal |
| not read by the text system; see textWrapping | |
| VerticalTrim | verticalTrim = VerticalTrim::Default |
| CSS: -tachyon-vertical-trim. | |
How a text block is laid out in its box; shared by all states of a Style.
|
noexcept |
|
inlinenoexcept |
| TextDirection tachyon::TextLayoutStyle::textDirection = TextDirection::Auto |
CSS: direction.
| TextWrap tachyon::TextLayoutStyle::textWrapping = TextWrap::NoWrap |
CSS: text-wrap.
| TextAlign tachyon::TextLayoutStyle::horizontalAlignment = TextAlign::Start |
CSS: text-align.
| TextAlign tachyon::TextLayoutStyle::verticalAlignment = TextAlign::Start |
Vertical position of the text (+ icon) block in its box; only Start / Center / End (and their aliases) apply.
CSS: -tachyon-vertical-text-align.
| TextBaseline tachyon::TextLayoutStyle::baseline = TextBaseline::Alphabetic |
CSS: -tachyon-text-baseline, dominant-baseline or vertical-align.
| TextOverflow tachyon::TextLayoutStyle::textOverflow = TextOverflow::Clip |
CSS: text-overflow.
| WordWrap tachyon::TextLayoutStyle::wrapMode = WordWrap::Normal |
not read by the text system; see textWrapping
| VerticalTrim tachyon::TextLayoutStyle::verticalTrim = VerticalTrim::Default |
CSS: -tachyon-vertical-trim.