Skip to content

函数: getStageInfo() ​

getStageInfo(): object

获取舞台信息

返回 ​

object

width 舞台宽度 height 舞台高度

名称类型

height

number

width

number

示例 ​

ts
let {width,height} = LM.getStageInfo();