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