4--! \brief Get the
x position to center text based on the text
's width and what you're centering relative to.
5--! \param \int length The length of the
object you
're centering the text in.
6--! \param \string fontSize The font size of the text (could be UIFont.Small, UIFont.Medium, UIFont.Large, or UIFont.Title).
7--! \param \string text The text you're centering.
11 return (length / 2) - (
width / 2)
Contains all of the User Interfaces for FrameworkZ.
void GetMiddle(length, fontSize, text)
void GetHeight(fontSize, text)
void GetCenteredX(length, fontSize, text)
Get the x position to center text based on the text's width and what you're centering relative to.