window.h

    Window

    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

    1.0

    Enumeration Name

    Description

    { OHOS::WINDOW_PIXEL_FORMAT_RGB565 = 101, , OHOS::WINDOW_PIXEL_FORMAT_RGB888, }

    Enumerates the pixel formats of this window.