Text+
DevForum Topic
  • Welcome
  • Installation
  • Fundamentals
    • Introduction
    • Line breaks
    • Customization
      • Fonts
      • Scale-size
      • Truncation
    • Modification
    • Text bounds
  • Fine-control
    • Introduction
    • Full iteration
  • Specific indexing and iteration
  • Transform and style
  • Custom fonts
    • Introduction
    • Font to XML
    • XML to Lua
    • Upload font image
    • Import to Text+
Powered by GitBook
On this page
  1. Fundamentals

Customization

PreviousLine breaksNextFonts

Last updated 5 days ago

The customization works with a table, where you can provide any customizations you want. You don't have to provide all, or even any, because they all have defaults.

You use it like this:

TextPlus.Create(
	frame,
	"This text is awesome!",
	{ -- Customization (optional).
		Size = 24,
		Color = Color3.fromRGB(255, 255, 255),
		XAlignment = "Center",
		YAlignment = "Center"
	}
)

You can get the current customization for a frame at any time like this:

TextPlus.GetCustomization(frame) -- Returns a table.

The customization received from the GetCustomization function will always be valid, and will contain all customization options except false booleans and a select few customizations that are not required in the list.

Customization options