harmony 鸿蒙OH_Drawing_Image_Info

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

OH_Drawing_Image_Info

Overview

The OH_Drawing_Image_Info struct describes the image information.

Since: 12

Related module: Drawing

Header file: drawing_types.h

Summary

Member Variables

Name Description
int32_t width Width, in pixels.
int32_t height Height, in pixels.
OH_Drawing_ColorFormat colorType Color format. For details, see OH_Drawing_ColorFormat.
OH_Drawing_AlphaFormat alphaType Alpha format. For details, see OH_Drawing_AlphaFormat.

Member Variable Description

alphaType

OH_Drawing_AlphaFormat OH_Drawing_Image_Info::alphaType

Description

Alpha format. For details, see OH_Drawing_AlphaFormat.

colorType

OH_Drawing_ColorFormat OH_Drawing_Image_Info::colorType

Description

Color format. For details, see OH_Drawing_ColorFormat.

height

int32_t OH_Drawing_Image_Info::height

Description

Height, in pixels.

width

int32_t OH_Drawing_Image_Info::width

Description

Width, in pixels.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_BitmapFormat

0  赞