Module type_style

Module type_style 

Source

Structs§

TypeStyle

Enums§

LineHeightUnit
The unit of the line height value specified by the user.
SemanticItalic
Indicates how the font style was overridden when there is a text style override.
SemanticWeight
Indicates how the font weight was overridden when there is a text style override.
TextAlignHorizontal
Horizontal text alignment as string enum.
TextAlignVertical
Vertical text alignment as string enum.
TextAutoResize
Dimensions along which text will auto resize, default is that the text does not auto-resize. TRUNCATE means that the text will be shortened and trailing text will be replaced with "…" if the text contents is larger than the bounds. TRUNCATE as a return value is deprecated and will be removed in a future version. Read from textTruncation instead.
TextCase
Text casing applied to the node, default is the original casing.
TextDecoration
Text decoration applied to the node, default is none.
TextTruncation
Whether this text node will truncate with an ellipsis when the text contents is larger than the text node.