Esempio n. 1
0
		public Rectangle(Rectanglei rect) : this(rect.X, rect.Y, rect.Width, rect.Height) {
		}
Esempio n. 2
0
		public bool Intersects(Rectanglei rect) {
			return !((X >= rect.Right) || (Right <= rect.X) ||
				(Y >= rect.Bottom) || (Bottom <= rect.Y));
		}
Esempio n. 3
0
 public bool Intersects(Rectanglei rect)
 {
     return(!((X >= rect.Right) || (Right <= rect.X) ||
              (Y >= rect.Bottom) || (Bottom <= rect.Y)));
 }
Esempio n. 4
0
 public Rectangle(Rectanglei rect) : this(rect.X, rect.Y, rect.Width, rect.Height)
 {
 }