OHOS::Screen

Overview

Related Modules:

Graphic

Description:

Represents the screen info of the device.

Since:

1.0

Version:

1.0

Summary

Public Member Functions

Public Member Function Name

Description

GetWidth ()

uint16_t 

Obtains the width of this screen.

GetHeight ()

uint16_t 

Obtains the height of this screen.

Static Public Member Functions

Static Public Member Function Name

Description

GetInstance ()

static Screen

Obtains a singleton Screen instance.