TParagraphStyle
Stanislav Podolia edited this page Jul 21, 2020
·
6 revisions
-
CharacterStyle
* **FDynamicColor**<br /> * **color** : [Transform](Transform)\<int\><br />
-
TagName
-
LangAttribute
-
ParagraphWidth
Max width of the paragraph
-
width : Transform<double>
-
width : Transform<double>
-
ParagraphWidth
-
CommonAlignment
-
CropWords
Crop words that are longer than paragraph width, true by default
-
crop : bool
-
crop : bool
-
CropWords
-
InterlineSpacing
-
ParagraphMetrics
Get paragraph metrics-
fn : (FFormMetrics) -> void
-
fn : (FFormMetrics) -> void
-
ParagraphEllipsis
Paragraph ellipsis bound by width from ParagraphWidth and lines count
Ignored without ParagraphWidth style and for non-js targets
fn - truncation callback, true if ellipsis is added-
lines : int
-
fn : (truncated : bool) -> void
-
lines : int
-
Resolution
Change text resolution multiplier
Can become blurry with resolution > 1.0 but better positioned
Helpful in cases when you need properly centered text
Works and makes sense only in js-
resolution : double
-
resolution : double
-
-
-
TStyle
-
name : string
-
name : string
-
TStyleWithSelector
-
name : string
-
selector : string
-
name : string
-
-
ParagraphMargin
Important that TCharacterStyle is a sub-type even if it is redundant
Margin around a paragraph-
top : double
-
bottom : double
-
top : double
-
FullWidth
Paragraph takes all available width -
CharacterStyle
* **FDynamicColor**<br /> * **color** : [Transform](Transform)\<int\><br />
-
TagName
-
LangAttribute
-
TCssStyle
-
TStyle
-
name : string
-
name : string
-
TStyleWithSelector
-
name : string
-
selector : string
-
name : string
-
-
TCssStyle