tModLoader v2024.09
A mod to make and play Terraria mods
MapOverlayDrawContext Struct Reference

Classes

struct  DrawResult
 

Public Member Functions

 MapOverlayDrawContext (Vector2 mapPosition, Vector2 mapOffset, Rectangle? clippingRect, float mapScale, float drawScale)
 
DrawResult Draw (Texture2D texture, Vector2 position, Alignment alignment)
 
DrawResult Draw (Texture2D texture, Vector2 position, Color color, SpriteFrame frame, float scaleIfNotSelected, float scaleIfSelected, Alignment alignment)
 
DrawResult Draw (Texture2D texture, Vector2 position, SpriteFrame frame, Alignment alignment)