TextAlignment
How to align multi-line text
This is used by the GUIText. alignment attribute.
See GUI Text component
Value
LeftLeft-aligned text lines
CenterAlign text lines in Center
RightRight-aligned text lines
TextAnchor
Position of the text anchor point
This is used by the GUIText. anchor attribute.
See GUI Text component
Value
UpperLeftThe text is anchored in the upper left corner.
UpperCenterText is positioned above and vertically centered
UpperRightThe text is anchored in the upper right corner.
MiddleLeftText is positioned on the left and vertically centered
MiddleCenterText center in the horizontal and vertical directions
MiddleRightText is positioned on the right and vertically centered
LowerLeftText is anchor in the lower left corner
LowerCenterText is positioned at the bottom and vertically centered
LowerRightThe text is anchored in the upper right corner.
TextClipping
The GUI system processes excessive text to fit the rectangle to be allocated.
Value
OverDowText floating outside of this element
ClipThe text is cropped to be placed within the element.
This article is from the "Better_Power_Wisdom" blog, please be sure to keep this source http://aonaufly.blog.51cto.com/3554853/1293520