public static void drawHollowRect(this Batcher batcher, float x, float y, float width, float height, Color color, float thickness = 1) { var tl = new Vector2(x, y).round(); var tr = new Vector2(x + width, y).round(); var br = new Vector2(x + width, y + height).round(); var bl = new Vector2(x, y + height).round(); batcher.drawLine(tl, tr, color, thickness); batcher.drawLine(tr, br, color, thickness); batcher.drawLine(br, bl, color, thickness); batcher.drawLine(bl, tl, color, thickness); }