SKRect.Union Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.