Fields
TextSettings.align: string?
The alignment of the text. Can be "left", "center", or "right". Defaults to "left".
TextSettings.auto_size: boolean?
Whether to automatically resize the text box to fit the text. Defaults to false.
TextSettings.color: number, [2]? }?
The color of the text. Defaults to white.
TextSettings.font: string?
The font to use. Defaults to "main".
TextSettings.font_size: number?
The size of the font to use. Uses the default size for the font if not specified.
TextSettings.indent_string: string?
The string to use for indented lines. Defaults to "* ".
TextSettings.line_offset: number?
The amount of pixels to add between lines. Defaults to 0.
TextSettings.preprocess: boolean?
Whether to preprocess the text to calculate line breaks and alignment before drawing. This can be set to false if you don't care about alignment or wrapping,
TextSettings.style: string?
The style of the text. Can be "none", "menu", "dark", "dark_menu", "GONER", or any custom style registered with the onDrawText event. Defaults to "none".
TextSettings.wrap: boolean?
Whether to wrap text that exceeds the width of the text box. Defaults to true.