Rectangle.Intersect Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Intersect(Rectangle) |
A new Rectangle that is the intersection of |
Intersect(Rectangle, Rectangle) |
A new Rectangle that is the intersection of |
Intersect(Rectangle)
A new Rectangle that is the intersection of this
and r
.
public Xamarin.Forms.Rectangle Intersect (Xamarin.Forms.Rectangle r);
member this.Intersect : Xamarin.Forms.Rectangle -> Xamarin.Forms.Rectangle
Parameters
Returns
Returns a new Rectangle that is the intersection of this
Rectangle and r
, or Zero if there is no intersection.
Applies to
Intersect(Rectangle, Rectangle)
A new Rectangle that is the intersection of r1
and r2
.
public static Xamarin.Forms.Rectangle Intersect (Xamarin.Forms.Rectangle r1, Xamarin.Forms.Rectangle r2);
static member Intersect : Xamarin.Forms.Rectangle * Xamarin.Forms.Rectangle -> Xamarin.Forms.Rectangle
Parameters
Returns
Returns a new Rectangle that is the intersection of r1
and r2
, or Zero if there is no intersection.