Skip to content

format

typescript
Rect.EncapsulatePoint(point)

class: Rect

description

Expands the rectangle to contain a point.

parameter

param_nametypedescription
pointVector2The point to be contained.

reture

typedescription
void

code example