Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
DrawString()
[3/6]
void
Microsoft.Xna.Framework.Graphics.SpriteBatch.DrawString
(
SpriteFont
spriteFont
,
string
text
,
Vector2
position
,
Color
color
,
float
rotation
,
Vector2
origin
,
Vector2
scale
,
SpriteEffects
effects
,
float
layerDepth
)
inline
Definition at line
531
of file
SpriteBatch.cs
.
532
{
533
if
(
spriteFont
==
null
)
534
{
535
throw
new
ArgumentNullException
(
"spriteFont"
);
536
}
537
if
(
text
==
null
)
538
{
539
throw
new
ArgumentNullException
(
"text"
);
540
}
541
SpriteFont.StringProxy
text2
=
new
SpriteFont.StringProxy(
text
);
542
spriteFont
.InternalDraw(
ref
text2
,
this
, position, color, rotation, origin,
ref
scale, effects,
layerDepth
);
543
}
System.ArgumentNullException
Definition
ArgumentNullException.cs:10
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
System.ExceptionArgument.text
@ text
References
System.text
.
Microsoft
Xna
Framework
Graphics
SpriteBatch
Generated by
1.10.0