編輯

共用方式為


SKRectI.Union Method

Definition

Overloads

Union(SKRectI, SKRectI)

Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

Union(SKRectI)

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

Union(SKRectI, SKRectI)

Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

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

Parameters

a
SKRectI

A rectangle to union.

b
SKRectI

A rectangle to union.

Returns

A third SKRectI structure that contains both of the two rectangles that form the union.

Applies to

Union(SKRectI)

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

public void Union (SkiaSharp.SKRectI rect);

Parameters

rect
SKRectI

A rectangle to union.

Applies to