Version: 2020.1
Experimental: this API is experimental and might be changed or removed in the future.

RectUtils.Encompass

切换到手册
public static Rect Encompass (Rect a, Rect b);

参数

a 矩形 a。
b 矩形 b。

返回

Rect 新矩形。

描述

创建包含两个矩形的矩形。