Optional
alignThis can be TextAlign.left, TextAlign.center or TextAlign.right.
Optional
endThe ending index (exclusive) into the text to layout.
Optional
flipYWhether the texture will be Y-flipped.
Optional
fontThe BMFont definition which holds chars, kernings, etc.
Optional
letterThe letter spacing in pixels.
Optional
lineThe line height in pixels.
Optional
modeA mode for word-wrapper; can be WordWrapMode.Pre (maintain spacing), or WordWrapMode.NoWrap (collapse whitespace but only break on newline characters), otherwise assumes normal word-wrap behaviour (collapse whitespace, break at width or newlines).
Optional
multipageWhether to construct this geometry with an extra buffer containing page IDs. This is necessary for multi-texture fonts.
Optional
startThe starting index into the text to layout.
Optional
tabThe number of spaces to use in a single tab .
Optional
widthThe desired width of the text box, causes word-wrapping and clipping in WordWrapMode mode. Leave as undefined to remove word-wrapping (default behaviour).
The interface to define options for
TextGeometry
.TextGeometryOption