Skip to content

格式

typescript
Screen.DPI

所属类: Screen

描述

(只读)屏幕或设备的当前DPI。

参数

参数名类型描述

返回值

类型描述
number

代码示例