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

◆ DrawRect() [2/3]

static void Terraria.Utils.DrawRect ( SpriteBatch spriteBatch,
Vector2 start,
Vector2 end,
Color color )
inlinestatic

Definition at line 2910 of file Utils.cs.

2911 {
2912 //IL_0001: Unknown result type (might be due to invalid IL or missing references)
2913 //IL_0002: Unknown result type (might be due to invalid IL or missing references)
2914 //IL_0008: Unknown result type (might be due to invalid IL or missing references)
2915 //IL_000e: Unknown result type (might be due to invalid IL or missing references)
2916 //IL_0013: Unknown result type (might be due to invalid IL or missing references)
2917 //IL_001a: Unknown result type (might be due to invalid IL or missing references)
2918 //IL_001b: Unknown result type (might be due to invalid IL or missing references)
2919 //IL_0021: Unknown result type (might be due to invalid IL or missing references)
2920 //IL_0027: Unknown result type (might be due to invalid IL or missing references)
2921 //IL_002c: Unknown result type (might be due to invalid IL or missing references)
2922 //IL_0033: Unknown result type (might be due to invalid IL or missing references)
2923 //IL_0034: Unknown result type (might be due to invalid IL or missing references)
2924 //IL_003a: Unknown result type (might be due to invalid IL or missing references)
2925 //IL_0040: Unknown result type (might be due to invalid IL or missing references)
2926 //IL_0045: Unknown result type (might be due to invalid IL or missing references)
2927 //IL_004c: Unknown result type (might be due to invalid IL or missing references)
2928 //IL_004d: Unknown result type (might be due to invalid IL or missing references)
2929 //IL_0053: Unknown result type (might be due to invalid IL or missing references)
2930 //IL_0059: Unknown result type (might be due to invalid IL or missing references)
2931 //IL_005e: Unknown result type (might be due to invalid IL or missing references)
2932 DrawLine(spriteBatch, start, new Vector2(start.X, end.Y), color);
2933 DrawLine(spriteBatch, start, new Vector2(end.X, start.Y), color);
2934 DrawLine(spriteBatch, end, new Vector2(start.X, end.Y), color);
2935 DrawLine(spriteBatch, end, new Vector2(end.X, start.Y), color);
2936 }
static void DrawLine(SpriteBatch spriteBatch, Point start, Point end, Color color)
Definition Utils.cs:2778

References Terraria.Utils.DrawLine().

+ Here is the call graph for this function: