OH_Rect

Overview

The OH_Rect struct defines the width, height, and image information of the rectangle used for screen capture.

System capability: SystemCapability.Multimedia.Media.AVScreenCapture

Since

10

Related Modules

AVScreenCapture

Summary

Member Variables

Name Description
x int32_t
Defines the X coordinate of the screen capture rectangle.
y int32_t
Defines the Y coordinate of the screen capture rectangle.
width int32_t
Defines the width of the screen capture rectangle.
height int32_t
Defines the height of the screen capture rectangle.

Member Variable Description

height

int32_t OH_Rect::height

Description

Defines the height of the screen capture rectangle.

width

int32_t OH_Rect::width

Description

Defines the width of the screen capture rectangle.

x

int32_t OH_Rect::x

Description

Defines the X coordinate of the screen capture rectangle.

y

int32_t OH_Rect::y

Description

Defines the Y coordinate of the screen capture rectangle.