Flutter Engine
The Flutter Engine
|
#include <paragraph_style.h>
Public Member Functions | |
TextStyle | GetTextStyle () const |
bool | unlimited_lines () const |
bool | ellipsized () const |
TextAlign | effective_align () const |
Public Attributes | |
FontWeight | font_weight = FontWeight::w400 |
FontStyle | font_style = FontStyle::normal |
std::string | font_family = "" |
double | font_size = 14 |
double | height = 1 |
bool | has_height_override = false |
size_t | text_height_behavior = TextHeightBehavior::kAll |
bool | strut_enabled = false |
FontWeight | strut_font_weight = FontWeight::w400 |
FontStyle | strut_font_style = FontStyle::normal |
std::vector< std::string > | strut_font_families |
double | strut_font_size = 14 |
double | strut_height = 1 |
bool | strut_has_height_override = false |
bool | strut_half_leading = false |
double | strut_leading = -1 |
bool | force_strut_height = false |
TextAlign | text_align = TextAlign::start |
TextDirection | text_direction = TextDirection::ltr |
size_t | max_lines = std::numeric_limits<size_t>::max() |
std::u16string | ellipsis |
std::string | locale |
Definition at line 64 of file paragraph_style.h.
TextAlign txt::ParagraphStyle::effective_align | ( | ) | const |
Definition at line 45 of file paragraph_style.cc.
bool txt::ParagraphStyle::ellipsized | ( | ) | const |
Definition at line 41 of file paragraph_style.cc.
TextStyle txt::ParagraphStyle::GetTextStyle | ( | ) | const |
Definition at line 23 of file paragraph_style.cc.
bool txt::ParagraphStyle::unlimited_lines | ( | ) | const |
Definition at line 37 of file paragraph_style.cc.
std::u16string txt::ParagraphStyle::ellipsis |
Definition at line 95 of file paragraph_style.h.
std::string txt::ParagraphStyle::font_family = "" |
Definition at line 70 of file paragraph_style.h.
double txt::ParagraphStyle::font_size = 14 |
Definition at line 71 of file paragraph_style.h.
FontStyle txt::ParagraphStyle::font_style = FontStyle::normal |
Definition at line 69 of file paragraph_style.h.
FontWeight txt::ParagraphStyle::font_weight = FontWeight::w400 |
Definition at line 68 of file paragraph_style.h.
bool txt::ParagraphStyle::force_strut_height = false |
Definition at line 89 of file paragraph_style.h.
bool txt::ParagraphStyle::has_height_override = false |
Definition at line 73 of file paragraph_style.h.
double txt::ParagraphStyle::height = 1 |
Definition at line 72 of file paragraph_style.h.
std::string txt::ParagraphStyle::locale |
Definition at line 96 of file paragraph_style.h.
size_t txt::ParagraphStyle::max_lines = std::numeric_limits<size_t>::max() |
Definition at line 94 of file paragraph_style.h.
bool txt::ParagraphStyle::strut_enabled = false |
Definition at line 79 of file paragraph_style.h.
std::vector<std::string> txt::ParagraphStyle::strut_font_families |
Definition at line 82 of file paragraph_style.h.
double txt::ParagraphStyle::strut_font_size = 14 |
Definition at line 83 of file paragraph_style.h.
FontStyle txt::ParagraphStyle::strut_font_style = FontStyle::normal |
Definition at line 81 of file paragraph_style.h.
FontWeight txt::ParagraphStyle::strut_font_weight = FontWeight::w400 |
Definition at line 80 of file paragraph_style.h.
bool txt::ParagraphStyle::strut_half_leading = false |
Definition at line 86 of file paragraph_style.h.
bool txt::ParagraphStyle::strut_has_height_override = false |
Definition at line 85 of file paragraph_style.h.
double txt::ParagraphStyle::strut_height = 1 |
Definition at line 84 of file paragraph_style.h.
double txt::ParagraphStyle::strut_leading = -1 |
Definition at line 87 of file paragraph_style.h.
TextAlign txt::ParagraphStyle::text_align = TextAlign::start |
Definition at line 92 of file paragraph_style.h.
TextDirection txt::ParagraphStyle::text_direction = TextDirection::ltr |
Definition at line 93 of file paragraph_style.h.
size_t txt::ParagraphStyle::text_height_behavior = TextHeightBehavior::kAll |
Definition at line 74 of file paragraph_style.h.