編輯

共用方式為


SKRect.Union Method

Definition

Overloads

Union(SKRect, SKRect)

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

Union(SKRect)

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

Union(SKRect, SKRect)

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

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

Parameters

a
SKRect

A rectangle to union.

b
SKRect

A rectangle to union.

Returns

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

Applies to

Union(SKRect)

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

public void Union (SkiaSharp.SKRect rect);

Parameters

rect
SKRect

A rectangle to union.

Applies to