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

◆ MeasureString() [1/2]

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

Definition at line 132 of file SpriteFont.cs.

133 {
134 if (text == null)
135 {
136 throw new ArgumentNullException("text");
137 }
138 StringProxy text2 = new StringProxy(text);
139 return InternalMeasure(ref text2);
140 }
Vector2 InternalMeasure(ref StringProxy text)

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