Skip to content

Home > @esengine/ecs-framework-monorepo > Rectangle > inflate

Rectangle.inflate() method

扩展矩形

Signature:

typescript
inflate(amount: number): this;

Parameters

Parameter

Type

Description

amount

number

扩展量(正值扩大,负值缩小)

Returns:

this

当前矩形实例(链式调用)

基于 MIT 许可证发布