[**minigame-std**](../../../README.md)

***

[minigame-std](../../../README.md) / [platform](../README.md) / getWindowInfo

# Function: getWindowInfo()

```ts
function getWindowInfo(): Pick<WechatMinigame.WindowInfo, 
  | "pixelRatio"
  | "screenHeight"
  | "screenTop"
  | "screenWidth"
  | "windowHeight"
| "windowWidth">
```

获取窗口信息。

## Returns

`Pick`\<`WechatMinigame.WindowInfo`, 
  \| `"pixelRatio"`
  \| `"screenHeight"`
  \| `"screenTop"`
  \| `"screenWidth"`
  \| `"windowHeight"`
  \| `"windowWidth"`\>

## Defined in

[src/std/platform/mod.ts:9](https://github.com/JiangJie/minigame-std/blob/8633d80114dee6c79033ec094d8233bd8263bedc/src/std/platform/mod.ts#L9)
