Rectangle.Union Method

Definition

Overloads

Union(Rectangle)

A new Rectangle whose bounds cover the union of thisRectangle and r.

Union(Rectangle, Rectangle)

A new Rectangle whose bounds cover the union of r1 and r2.

Union(Rectangle)

A new Rectangle whose bounds cover the union of thisRectangle and r.

public Xamarin.Forms.Rectangle Union (Xamarin.Forms.Rectangle r);
member this.Union : Xamarin.Forms.Rectangle -> Xamarin.Forms.Rectangle

Parameters

r
Rectangle

The Rectangle whose union is being calculated.

Returns

Returns a new Rectangle whose bounds cover the union of thisRectangle and r.

Applies to

Union(Rectangle, Rectangle)

A new Rectangle whose bounds cover the union of r1 and r2.

public static Xamarin.Forms.Rectangle Union (Xamarin.Forms.Rectangle r1, Xamarin.Forms.Rectangle r2);
static member Union : Xamarin.Forms.Rectangle * Xamarin.Forms.Rectangle -> Xamarin.Forms.Rectangle

Parameters

r1
Rectangle

A Rectangle whose union is being calculated.

r2
Rectangle

A Rectangle whose union is being calculated.

Returns

Returns a new Rectangle whose bounds cover the union of r1 and r2.

Applies to