public Rect2i(int x, int y, int width, int height) { _position = new Vector2i(x, y); _size = new Vector2i(width, height); }
public Rect2i(Vector2i position, int width, int height) { _position = position; _size = new Vector2i(width, height); }
public Rect2i(int x, int y, Vector2i size) { _position = new Vector2i(x, y); _size = size; }
// Constructors public Rect2i(Vector2i position, Vector2i size) { _position = position; _size = size; }