Pinta.ImageManipulation.Rectangle.Intersect C# (CSharp) Метод

Intersect() публичный статический Метод

public static Intersect ( Rectangle a, Rectangle b ) : Rectangle
a Rectangle
b Rectangle
Результат Rectangle
		public static Rectangle Intersect (Rectangle a, Rectangle b)
		{
			return Rectangle.FromLTRB (
				Math.Max (a.Left, b.Left),
				Math.Max (a.Top, b.Top),
				Math.Min (a.Right, b.Right),
				Math.Min (a.Bottom, b.Bottom));
		}

Same methods

Rectangle::Intersect ( Rectangle r ) : void