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

◆ DrawRect() [3/3]

static void Terraria.Utils.DrawRect ( SpriteBatch spriteBatch,
Vector2 topLeft,
Vector2 topRight,
Vector2 bottomRight,
Vector2 bottomLeft,
Color color )
inlinestatic

Definition at line 2103 of file Utils.cs.

2104 {
2105 DrawLine(spriteBatch, topLeft, topRight, color);
2106 DrawLine(spriteBatch, topRight, bottomRight, color);
2107 DrawLine(spriteBatch, bottomRight, bottomLeft, color);
2108 DrawLine(spriteBatch, bottomLeft, topLeft, color);
2109 }
static void DrawLine(SpriteBatch spriteBatch, Point start, Point end, Color color)
Definition Utils.cs:2044

References Terraria.Utils.DrawLine().