[]
Text layout parameters. Please ensure to specify WrapMode/EnableKinsoku/MultiLine to obtain right output.
public struct TextLayoutParams
Name | Description |
---|---|
TextLayoutParams(TextAlignment, VerticalTextAlignment, TextJustify, WrapMode, bool, float, float, bool, float, bool, bool) | Initialize new instance of TextLayoutParams class. |
Name | Description |
---|---|
HorizontalAlignment | Text alignment. |
VerticalAlignment | Lines alignment. |
Name | Description |
---|---|
CharacterSpacing | Gets or sets character spacing in points. |
ClipHeight | Gets or sets the height of the Vertical clip position. |
ClipStart | Gets or sets the start of the vertical clip position. |
EnableKinsoku | Gets or sets whether to force Kinsoku rules (if supported). |
IsRtl | Gets or sets text direction. |
IsVertical | Gets or sets whether vertical glyphs are allowed or not. |
LineSpacing | Gets or sets line spacing in points. |
MultiLine | Gets or sets whether multiline is allowed or not. |
Padding | Gets or sets predefined padding in points. |
TabStops | Tabs. |
TextAngle | Gets or sets the text rotation in angels * 10. |
TextJustify | Gets or sets justification algorithm (in case of Justified text alignment). |
WrapMode | Gets or sets line breaking wrap mode. |