OhosImageRegion
Overview
The OhosImageRegion struct defines the region of an image source to decode. It is used in OhosImageDecodingOps, OH_ImageSource_CreatePixelMap, and OH_ImageSource_CreatePixelMapList.
System capability: SystemCapability.Multimedia.Image
Since: 10
Related module: Image
Summary
Member Variables
Name | Description |
---|---|
x | Defines the X coordinate of the start point, in pixels. |
y | Defines the Y coordinate of the start point, in pixels. |
width | Defines the width of the region, in pixels. |
height | Defines the height of the region, in pixels. |