harmony 鸿蒙Image_Region

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

Image_Region

Overview

The Image_Region struct describes the region of an image to decode.

Since: 12

Related module: Image_NativeModule

Header file: image_common.h

Summary

Member Variables

Name Description
uint32_t x X coordinate of the region. It cannot be greater than the width of the original image.
uint32_t y Y coordinate of the region. It cannot be greater than the height of the original image.
uint32_t width Width of the output image, in px.
uint32_t height Height of the output image, in px.

Member Variable Description

height

uint32_t Image_Region::height

Description

Height of the output image, in px.

width

uint32_t Image_Region::width

Description

Width of the output image, in px.

x

uint32_t Image_Region::x

Description

X coordinate of the region. It cannot be greater than the width of the original image.

y

uint32_t Image_Region::y

Description

Y coordinate of the region. It cannot be greater than the height of the original image.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Image Kit

harmony 鸿蒙_image___native_module

harmony 鸿蒙Image_Size

harmony 鸿蒙Image_String

harmony 鸿蒙ImageEffect

harmony 鸿蒙ImageEffect_Any

harmony 鸿蒙ImageEffect_FilterDelegate

harmony 鸿蒙ImageEffect_FilterNames

harmony 鸿蒙ImageEffect_Region

harmony 鸿蒙ImageEffect_Size

0  赞