Creates a Rect starting from (x, y) and having the size of the argument Vector2
Rect toPositionedRect(Vector2 size) => Rect.fromLTWH(x, y, size.x, size.y);