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

◆ DrawColorCodedStringWithShadow() [3/3]

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

Definition at line 285 of file ChatManager.cs.

286 {
287 DrawColorCodedStringShadow(spriteBatch, font, snippets, position, Color.Black, rotation, origin, baseScale, maxWidth, spread);
288 return DrawColorCodedString(spriteBatch, font, snippets, position, Color.White, rotation, origin, baseScale, out hoveredSnippet, maxWidth);
289 }
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(), Terraria.UI.Chat.ChatManager.DrawColorCodedStringShadow(), and Microsoft.Xna.Framework.Color.White.

Referenced by Terraria.GameContent.UI.GameTipsDisplay.Draw(), Terraria.GameContent.UI.LegacyMultiplayerClosePlayersOverlay.Draw(), Terraria.Graphics.Capture.CaptureInterface.ModeChangeSettings.Draw(), Terraria.UI.ItemSlot.Draw(), Terraria.Utils.DrawBorderString(), Terraria.UI.ChestUI.DrawButton(), Terraria.Graphics.Capture.CaptureInterface.DrawCameraLock(), Terraria.GameContent.UI.Chat.LegacyChatMonitor.DrawChat(), Terraria.GameContent.UI.Chat.RemadeChatMonitor.DrawChat(), Terraria.Main.DrawDefenseCounter(), Terraria.Main.DrawGamepadInstructions(), Terraria.Main.DrawInterface_14_EntityHealthBars(), Terraria.Main.DrawInventory(), Terraria.UI.ChestUI.DrawName(), Terraria.Main.DrawNetplayStatusText(), Terraria.Main.DrawPlayerChat(), Terraria.Main.DrawPlayerChatBubbles(), Terraria.GameContent.UI.NewMultiplayerClosePlayersOverlay.PlayerOffScreenCache.DrawPlayerName(), Terraria.GameContent.UI.Elements.UIAchievementListItem.DrawSelf(), Terraria.GameContent.UI.Elements.UIKeybindingListItem.DrawSelf(), Terraria.GameContent.UI.Elements.UIKeybindingSimpleListItem.DrawSelf(), Terraria.GameContent.UI.Elements.UIKeybindingSliderItem.DrawSelf(), Terraria.GameContent.UI.Elements.UIKeybindingToggleListItem.DrawSelf(), Terraria.Main.GUIChatDrawInner(), Terraria.Main.MouseText_DrawItemTooltip(), and Terraria.Main.MouseTextInner().