Initialises a rectangle based on its center, a width and height
// Rectangle with center at 50,50, width 100 height 200Rects.fromCenter({x: 50, y:50}, 100, 200); Copy
// Rectangle with center at 50,50, width 100 height 200Rects.fromCenter({x: 50, y:50}, 100, 200);
Initialises a rectangle based on its center, a width and height