加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:03
#
文件名称:
window-h.md
所在目录:
Openharmony v1.0 / docs / docs-en / api / api-SmartVision-Devices
文件大小:
3.85 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# window.h
## **Overview**
**Related Modules:**
[Window](window.md)
**Description:**
Declares the **Window** class that provides a drawing canvas for the **RootView**, which represents the root node of a view tree.
Each window is bound to a **RootView**. For details, see **RootView**. The **Window** class also provides window management capabilities, including creating, destroying, showing, hiding, moving, resizing a window, raising a window to the top, and lowering a window to the bottom.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Data Structures












Data Structure Name


Description


OHOS::WindowConfig


Sets the attributes for this window.


OHOS::Window


Provides a drawing canvas for the RootView, which represents the root node of a view tree.



## Enumerations









Enumeration Name


Description


OHOS::WindowPixelFormat { OHOS::WINDOW_PIXEL_FORMAT_RGB565 = 101, OHOS::WINDOW_PIXEL_FORMAT_ARGB1555, OHOS::WINDOW_PIXEL_FORMAT_RGB888, OHOS::WINDOW_PIXEL_FORMAT_ARGB8888 }


Enumerates the pixel formats of this window.


点赞 回复
回帖
支持markdown部分语法 ?