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