public static void DrawClearRectangle(SpriteBatch batch, Rectangle rect, int width, Color c)
{
DrawUtil.DrawLine(batch,
new Point(rect.Left, rect.Top),
new Point(rect.Left, rect.Bottom),
c,
width);
// Top left to top right
DrawUtil.DrawLine(batch,
new Point(rect.Left, rect.Top),
new Point(rect.Right, rect.Top),
c,
width);
// Top right to bottom right
DrawUtil.DrawLine(batch,
new Point(rect.Right, rect.Top),
new Point(rect.Right, rect.Bottom - 1),
c,
width);
// Bottom right to bottom left
DrawUtil.DrawLine(batch,
new Point(rect.Right, rect.Bottom - 1),
new Point(rect.Left, rect.Bottom - 1),
c,
width);
}