[]
Initialize new instance of TextLayoutParams class.
public TextLayoutParams(TextAlignment horizontalAlignment = TextAlignment.Left, VerticalTextAlignment verticalAlignment = VerticalTextAlignment.Top, TextJustify textJustify = TextJustify.Auto, WrapMode wrapMode = WrapMode.WordWrap, bool enableKinsoku = true, float characterSpacing = 0, float lineSpacing = 0, bool isRtl = false, float textAngle = 0, bool isVertical = false, bool multiLine = true)
Type | Name | Description |
---|---|---|
TextAlignment | horizontalAlignment | Text alignment |
VerticalTextAlignment | verticalAlignment | Lines alignment |
TextJustify | textJustify | Justification algorithm |
WrapMode | wrapMode | Line breaking wrap mode |
bool | enableKinsoku | Force Kinsoku rules |
float | characterSpacing | Character spacing in points. |
float | lineSpacing | Line spacing in points. |
bool | isRtl | Text direction. |
float | textAngle | Text rotation in angels * 10. |
bool | isVertical | Vertical glyphs are allowed or not. |
bool | multiLine | Multiline is allowed or not. |