harmony 鸿蒙Image_Region
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___native_module
harmony 鸿蒙ImageEffect_FilterDelegate
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦