Skip to content

format

typescript
Rect.EncapsulateRect(rect)

class: Rect

description

Expands this rectangle to contain another given rectangle.

parameter

param_nametypedescription
rectRectThe rectangle to be contained.

reture

typedescription
void

code example