Skip to content

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

Rectangle.copy() method

复制另一个矩形的值

Signature:

typescript
copy(other: Rectangle): this;

Parameters

Parameter

Type

Description

other

Rectangle

源矩形

Returns:

this

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

基于 MIT 许可证发布