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

◆ DrawColorCodedStringWithShadow() [2/3]

static Vector2 Terraria.UI.Chat.ChatManager.DrawColorCodedStringWithShadow ( SpriteBatch spriteBatch,
DynamicSpriteFont font,
TextSnippet[] snippets,
Vector2 position,
float rotation,
Color color,
Vector2 origin,
Vector2 baseScale,
out int hoveredSnippet,
float maxWidth = -1f,
float spread = 2f )
inlinestatic

Definition at line 291 of file ChatManager.cs.

292 {
293 DrawColorCodedStringShadow(spriteBatch, font, snippets, position, Color.Black, rotation, origin, baseScale, maxWidth, spread);
294 return DrawColorCodedString(spriteBatch, font, snippets, position, color, rotation, origin, baseScale, out hoveredSnippet, maxWidth, ignoreColors: true);
295 }
static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
static Vector2 DrawColorCodedString(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth, bool ignoreColors=false)

References Microsoft.Xna.Framework.Color.Black, Terraria.UI.Chat.ChatManager.DrawColorCodedString(), and Terraria.UI.Chat.ChatManager.DrawColorCodedStringShadow().