harmony 鸿蒙OhosImageRect

  • 2025-06-12
  • 浏览 (5)

OhosImageRect

Overview

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

System capability: SystemCapability.Multimedia.Image

Since: 10

Related module: Image

Header file: image_mdk.h

Summary

Member Variables

Name Description
int32_t x X coordinate of the rectangle.
int32_t y Y coordinate of the rectangle.
int32_t width Width of the rectangle, in pixels.
int32_t 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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Image Kit

harmony 鸿蒙_image___native_module

harmony 鸿蒙Image_Region

harmony 鸿蒙Image_Size

harmony 鸿蒙Image_String

harmony 鸿蒙ImageEffect

harmony 鸿蒙ImageEffect_Any

harmony 鸿蒙ImageEffect_FilterDelegate

harmony 鸿蒙ImageEffect_FilterNames

harmony 鸿蒙ImageEffect_Region

0  赞