次の方法で共有


Rectangle.Intersect Method

Definition

Overloads

Intersect(Rectangle)

A new Rectangle that is the intersection of this and r.

Intersect(Rectangle, Rectangle)

A new Rectangle that is the intersection of r1 and r2.

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

r
Rectangle

A Rectanglethis will be intersected with.

Returns

Returns a new Rectangle that is the intersection of thisRectangle 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

r1
Rectangle

A Rectangle being intersected.

r2
Rectangle

A Rectangle being intersected.

Returns

Returns a new Rectangle that is the intersection of r1 and r2, or Zero if there is no intersection.

Applies to