편집

다음을 통해 공유


CGRect.Intersect Method

Definition

Overloads

Intersect(CGRect)

Replaces this CGRect with the intersection of itself and the specified CGRect.

Intersect(CGRect, CGRect)

Returns a third CGRect structure that represents the intersection of two other CGRect structures. If there is no intersection, an empty CGRect is returned.

Intersect(CGRect)

Replaces this CGRect with the intersection of itself and the specified CGRect.

public void Intersect (CoreGraphics.CGRect rect);
member this.Intersect : CoreGraphics.CGRect -> unit

Parameters

rect
CGRect

The CGRect with which to intersect.

Remarks

To be added

Applies to

Intersect(CGRect, CGRect)

Returns a third CGRect structure that represents the intersection of two other CGRect structures. If there is no intersection, an empty CGRect is returned.

public static CoreGraphics.CGRect Intersect (CoreGraphics.CGRect a, CoreGraphics.CGRect b);
static member Intersect : CoreGraphics.CGRect * CoreGraphics.CGRect -> CoreGraphics.CGRect

Parameters

a
CGRect

A rectangle to intersect.

b
CGRect

A rectangle to intersect.

Returns

A CGRect that represents the intersection of a and b.

Remarks

To be added

Applies to