Skip to content

rect2Inflate

rect2Inflate(rect, amount): Rect2

Defined in: rect2.ts:148

Creates a new rectangle that is inflated by the specified amount in all directions. The amount can be positive (to expand the rectangle) or negative (to shrink it).

Rect2

number

Rect2