Skip to content

格式

typescript
Rect.EncapsulateRect(rect)

所属类: Rect

描述

增长该矩形以包含给定的另一个矩形。

参数

参数名类型描述
rectRect要包含的矩形

返回值

类型描述
void

代码示例