Düzenle

Aracılığıyla paylaş


SKRectI.Intersect Method

Definition

Overloads

Intersect(SKRectI)

Replaces this SKRectI structure with the intersection of itself and the specified SKRectI structure.

Intersect(SKRectI, SKRectI)

Returns a SKRectI structure that represents the intersection of two rectangles. If there is no intersection, and empty SKRectI is returned.

Intersect(SKRectI)

Replaces this SKRectI structure with the intersection of itself and the specified SKRectI structure.

public void Intersect (SkiaSharp.SKRectI rect);

Parameters

rect
SKRectI

The rectangle to intersect.

Applies to

Intersect(SKRectI, SKRectI)

Returns a SKRectI structure that represents the intersection of two rectangles. If there is no intersection, and empty SKRectI is returned.

public static SkiaSharp.SKRectI Intersect (SkiaSharp.SKRectI a, SkiaSharp.SKRectI b);

Parameters

a
SKRectI

A rectangle to intersect.

b
SKRectI

A rectangle to intersect.

Returns

A third SKRectI structure the size of which represents the overlapped area of the two specified rectangles.

Applies to