主题
Home > @esengine/ecs-framework-monorepo > Rectangle > setSize
设置矩形大小
Signature:
setSize(width: number, height: number): this;
Parameter
Type
Description
width
number
新的宽度
height
新的高度
Returns:
this
当前矩形实例(链式调用)