 |
Flutter Impeller
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_IMPELLER_TOOLKIT_INTEROP_PARAGRAPH_STYLE_H_
6 #define FLUTTER_IMPELLER_TOOLKIT_INTEROP_PARAGRAPH_STYLE_H_
11 #include "third_party/txt/src/txt/paragraph_style.h"
16 :
public Object<ParagraphStyle,
17 IMPELLER_INTERNAL_HANDLE_NAME(ImpellerParagraphStyle)> {
52 txt::ParagraphStyle style_;
59 #endif // FLUTTER_IMPELLER_TOOLKIT_INTEROP_PARAGRAPH_STYLE_H_
ParagraphStyle & operator=(const ParagraphStyle &)=delete
~ParagraphStyle() override
void SetBackground(ScopedObject< Paint > paint)
void SetFontFamily(std::string family)
void SetMaxLines(size_t max_lines)
txt::TextStyle CreateTextStyle() const
void SetFontStyle(txt::FontStyle style)
void SetLocale(std::string locale)
void SetTextAlignment(txt::TextAlign alignment)
void SetFontSize(double size)
void SetFontWeight(txt::FontWeight weight)
void SetHeight(double height)
void SetForeground(ScopedObject< Paint > paint)
void SetTextDirection(txt::TextDirection direction)