public bool Within(Vector4 pos) { return X >= pos.X && Y >= pos.Y && X <= pos.X + pos.W && Y <= pos.Y + pos.H; }
public bool Intersects(Vector4 other) { return X + W >= other.X && other.X + other.W >= X && Y - H <= other.Y && other.Y - other.H <= Y; }