• Home
  • Raw
  • Download

Lines Matching defs:ParagraphStyle

78 struct ParagraphStyle {  struct
89 const StrutStyle& getStrutStyle() const { return fStrutStyle; } in getStrutStyle()
90 void setStrutStyle(StrutStyle strutStyle) { fStrutStyle = std::move(strutStyle); } in setStrutStyle()
92 const TextStyle& getTextStyle() const { return fDefaultTextStyle; } in getTextStyle()
93 void setTextStyle(const TextStyle& textStyle) { fDefaultTextStyle = textStyle; } in setTextStyle()
95 TextDirection getTextDirection() const { return fTextDirection; } in getTextDirection()
96 void setTextDirection(TextDirection direction) { fTextDirection = direction; } in setTextDirection()
98 TextAlign getTextAlign() const { return fTextAlign; } in getTextAlign()
99 void setTextAlign(TextAlign align) { fTextAlign = align; } in setTextAlign()
101 size_t getMaxLines() const { return fLinesLimit; } in getMaxLines()
102 void setMaxLines(size_t maxLines) { fLinesLimit = maxLines; } in setMaxLines()
104 SkString getEllipsis() const { return fEllipsis; } in getEllipsis()
105 std::u16string getEllipsisUtf16() const { return fEllipsisUtf16; } in getEllipsisUtf16()
106 void setEllipsis(const std::u16string& ellipsis) { fEllipsisUtf16 = ellipsis; } in setEllipsis()
107 void setEllipsis(const SkString& ellipsis) { fEllipsis = ellipsis; } in setEllipsis()
109 SkScalar getHeight() const { return fHeight; } in getHeight()
110 void setHeight(SkScalar height) { fHeight = height; } in setHeight()
112 TextHeightBehavior getTextHeightBehavior() const { return fTextHeightBehavior; } in getTextHeightBehavior()
113 void setTextHeightBehavior(TextHeightBehavior v) { fTextHeightBehavior = v; } in setTextHeightBehavior()
115 bool unlimited_lines() const { in unlimited_lines()
141 #endif // ParagraphStyle_DEFINED argument