harmony 鸿蒙OH_Rect

  • 2023-10-30
  • 浏览 (377)

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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

0  赞