Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ MeasureString() [2/2]

Vector2 Microsoft.Xna.Framework.Graphics.SpriteFont.MeasureString ( StringBuilder text)
inline

Definition at line 142 of file SpriteFont.cs.

143 {
144 if (text == null)
145 {
146 throw new ArgumentNullException("text");
147 }
148 StringProxy text2 = new StringProxy(text);
149 return InternalMeasure(ref text2);
150 }
Vector2 InternalMeasure(ref StringProxy text)

References Microsoft.Xna.Framework.Graphics.SpriteFont.InternalMeasure(), and System.text.