OhosImageRect

Overview

The OHOS::Media::OhosImageRect struct defines the information about an image rectangle.

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

Summary

Member Variables

Name Description
x X coordinate of the rectangle.
y Y coordinate of the rectangle.
width Width of the rectangle, in pixels.
height Height of the rectangle, in pixels.

Member Variable Description

height

int32_t OhosImageRect::height

Description

Height of the rectangle, in pixels.

width

int32_t OhosImageRect::width

Description

Width of the rectangle, in pixels.

x

int32_t OhosImageRect::x

Description

X coordinate of the rectangle.

y

int32_t OhosImageRect::y

Description

Y coordinate of the rectangle.