TextOptions
Options for spawnText.
Properties
Section titled “Properties”align?
Section titled “align?”
optionalalign?:"left"|"right"|"center"
alpha?
Section titled “alpha?”
optionalalpha?:number
maxWidth?
Section titled “maxWidth?”
optionalmaxWidth?:number
Wraps lines wider than this many pixels at spaces, for dialog boxes and descriptions. A word wider than a whole
line breaks where it must. \n still starts a new line. Default: no wrapping.
optionalsize?:number
Pixel size. Default: the size the font was loaded at.
optionaltint?:number
0xRRGGBB. Default white.
optionalx?:number
Top-left corner of the text block (or top-center / top-right with align).
optionaly?:number
optionalz?:number
