Description
The LeftBottom
field is a member of the TextFlag
enumeration in the Sandbox namespace. It is used to anchor text or other elements to the bottom left corner of a designated area. This flag can be combined with other TextFlag
values to achieve complex text alignment and positioning.
Usage
Use the LeftBottom
flag when you need to position text or UI elements at the bottom left corner of a container or screen. This is particularly useful in UI design where specific alignment is required for aesthetic or functional purposes.
Example
// Example of using TextFlag.LeftBottom
Graphics.DrawText("Hello, World!", new Vector2(100, 100), TextFlag.LeftBottom);