Flutter Engine
The Flutter Engine
|
#include <text_style.h>
Public Member Functions | |
TextStyle () | |
bool | equals (const TextStyle &other) const |
Public Attributes | |
SkColor | color = SK_ColorWHITE |
int | decoration = TextDecoration::kNone |
SkColor | decoration_color = SK_ColorTRANSPARENT |
TextDecorationStyle | decoration_style = TextDecorationStyle::kSolid |
double | decoration_thickness_multiplier = 1.0 |
FontWeight | font_weight = FontWeight::w400 |
FontStyle | font_style = FontStyle::normal |
TextBaseline | text_baseline = TextBaseline::kAlphabetic |
bool | half_leading = false |
std::vector< std::string > | font_families |
double | font_size = 14.0 |
double | letter_spacing = 0.0 |
double | word_spacing = 0.0 |
double | height = 1.0 |
bool | has_height_override = false |
std::string | locale |
std::optional< flutter::DlPaint > | background |
std::optional< flutter::DlPaint > | foreground |
std::vector< TextShadow > | text_shadows |
FontFeatures | font_features |
FontVariations | font_variations |
Definition at line 36 of file text_style.h.
txt::TextStyle::TextStyle | ( | ) |
bool txt::TextStyle::equals | ( | const TextStyle & | other | ) | const |
std::optional<flutter::DlPaint> txt::TextStyle::background |
Definition at line 59 of file text_style.h.
SkColor txt::TextStyle::color = SK_ColorWHITE |
Definition at line 38 of file text_style.h.
int txt::TextStyle::decoration = TextDecoration::kNone |
Definition at line 39 of file text_style.h.
SkColor txt::TextStyle::decoration_color = SK_ColorTRANSPARENT |
Definition at line 42 of file text_style.h.
TextDecorationStyle txt::TextStyle::decoration_style = TextDecorationStyle::kSolid |
Definition at line 43 of file text_style.h.
double txt::TextStyle::decoration_thickness_multiplier = 1.0 |
Definition at line 45 of file text_style.h.
std::vector<std::string> txt::TextStyle::font_families |
Definition at line 52 of file text_style.h.
FontFeatures txt::TextStyle::font_features |
Definition at line 64 of file text_style.h.
double txt::TextStyle::font_size = 14.0 |
Definition at line 53 of file text_style.h.
FontStyle txt::TextStyle::font_style = FontStyle::normal |
Definition at line 47 of file text_style.h.
FontVariations txt::TextStyle::font_variations |
Definition at line 65 of file text_style.h.
FontWeight txt::TextStyle::font_weight = FontWeight::w400 |
Definition at line 46 of file text_style.h.
std::optional<flutter::DlPaint> txt::TextStyle::foreground |
Definition at line 60 of file text_style.h.
bool txt::TextStyle::half_leading = false |
Definition at line 49 of file text_style.h.
bool txt::TextStyle::has_height_override = false |
Definition at line 57 of file text_style.h.
double txt::TextStyle::height = 1.0 |
Definition at line 56 of file text_style.h.
double txt::TextStyle::letter_spacing = 0.0 |
Definition at line 54 of file text_style.h.
std::string txt::TextStyle::locale |
Definition at line 58 of file text_style.h.
TextBaseline txt::TextStyle::text_baseline = TextBaseline::kAlphabetic |
Definition at line 48 of file text_style.h.
std::vector<TextShadow> txt::TextStyle::text_shadows |
Definition at line 63 of file text_style.h.
double txt::TextStyle::word_spacing = 0.0 |
Definition at line 55 of file text_style.h.