SKRect.Intersect Method

Definition

Overloads

Intersect(SKRect, SKRect)

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

Intersect(SKRect)

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

Intersect(SKRect, SKRect)

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

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

Parameters

a
SKRect

A rectangle to intersect.

b
SKRect

A rectangle to intersect.

Returns

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

Applies to

Intersect(SKRect)

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

public void Intersect (SkiaSharp.SKRect rect);

Parameters

rect
SKRect

The rectangle to intersect.

Applies to