Creates a rectangle from its top-left coordinate, a width and height.
// Rectangle at 50,50 with width of 100, height of 200.const rect = Rects.fromTopLeft({ x: 50, y:50 }, 100, 200); Copy
// Rectangle at 50,50 with width of 100, height of 200.const rect = Rects.fromTopLeft({ x: 50, y:50 }, 100, 200);
Creates a rectangle from its top-left coordinate, a width and height.