mirror of
https://github.com/Gongxh0901/kunpolibrary
synced 2025-06-06 17:44:20 +00:00
21 lines
606 B
TypeScript
21 lines
606 B
TypeScript
|
/**
|
||
|
* @Author: Gongxh
|
||
|
* @Date: 2024-12-08
|
||
|
* @Description: 屏幕尺寸信息接口
|
||
|
*/
|
||
|
export class Screen {
|
||
|
/** 屏幕宽度 */
|
||
|
public static ScreenWidth: number;
|
||
|
/** 屏幕高度 */
|
||
|
public static ScreenHeight: number;
|
||
|
/** 设计分辨率宽 */
|
||
|
public static DesignWidth: number;
|
||
|
/** 设计分辨率高 */
|
||
|
public static DesignHeight: number;
|
||
|
/** 安全区外一侧的高度 或 宽度 */
|
||
|
public static SafeAreaHeight: number;
|
||
|
/** 安全区的宽度 */
|
||
|
public static SafeWidth: number;
|
||
|
/** 安全区的高度 */
|
||
|
public static SafeHeight: number;
|
||
|
}
|