Description
The Bottom
field of the TextFlag
enumeration is used to anchor text to the bottom on the Y axis. This flag is part of the Sandbox.TextFlag
enum, which provides various options for positioning text and other elements within a graphical interface.
Usage
Use the Bottom
flag when you want to align text or elements to the bottom of their container. This can be combined with other flags from the TextFlag
enum to achieve the desired alignment on both the X and Y axes.
Example
// Example of using TextFlag.Bottom to align text
Graphics.DrawText("Hello, World!", position, TextFlag.Bottom);