• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# OhosImageRegion
2
3
4## Overview
5
6The **OhosImageRegion** struct defines the region of an image source to decode. It is used in [OhosImageDecodingOps](_ohos_image_decoding_ops.md), [OH_ImageSource_CreatePixelMap](image.md#oh_imagesource_createpixelmap), and [OH_ImageSource_CreatePixelMapList](image.md#oh_imagesource_createpixelmaplist).
7
8\@Syscap SystemCapability.Multimedia.Image
9
10**Since**
11
1210
13
14**Related Modules**
15
16[Image](image.md)
17
18
19## Summary
20
21
22### Member Variables
23
24| Name| Description|
25| -------- | -------- |
26| [x](image.md#x) | Defines the X coordinate of the start point, in pixels.|
27| [y](image.md#y) | Defines the Y coordinate of the start point, in pixels.|
28| [width](image.md#width) | Defines the width of the region, in pixels.|
29| [height](image.md#height) | Defines the height of the region, in pixels.|
30