public bool Contains (int x, int y) { return (x >= X && x < X + Width) && (y >= Y && y < Y + Height); }