• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# WindowManager_WindowProperties
2
3## Overview
4
5The struct describes the window properties.
6
7**Since**: 15
8
9**Related module**: [WindowManager](capi-windowmanager.md)
10
11**Header file**: [oh_window_comm.h](capi-oh-window-comm-h.md)
12
13## Summary
14
15### Member Variables
16
17| Name| Description|
18| -- | -- |
19| WindowManager_Rect windowRect | Position and size of the window.|
20| WindowManager_Rect drawableRect | Size of the drawable area within the window.|
21| WindowManager_WindowType type | Window type.|
22| bool isFullScreen | Whether the window is in full-screen mode. The default value is **false**. **true** if in full-screen mode, **false** otherwise.|
23| bool isLayoutFullScreen | Whether the window layout is immersive. The default value is **false**. **true** if immersive, **false** otherwise.|
24| bool focusable | Whether the window is focusable. The default value is **true**. **true** if focusable, **false** otherwise.|
25| bool touchable | Whether the window is touchable. The default value is **true**. **true** if touchable, **false** otherwise.|
26| float brightness | Screen brightness of the window. The value is a floating-point number in the range [0.0, 1.0] or is set to **-1.0**, where **1.0** indicates the brightest, and **-1.0** is the default brightness.|
27| bool isKeepScreenOn | Whether the screen is steady on. The default value is **false**. **true** if steady on, **false** otherwise.|
28| bool isPrivacyMode | Whether privacy mode is enabled for the window. The default value is **false**. **true** if enabled, **false** otherwise.|
29| bool isTransparent | Whether the window is transparent. The default value is **false**. **true** if transparent, **false** otherwise.|
30| uint32_t id | Window ID. The default value is **0**, and the value is an integer.|
31| uint32_t displayId | ID of the screen where the window is located. By default, the ID of the primary screen is returned. The value is an integer.|
32