harmony 鸿蒙OH_Drawing_BitmapFormat

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

OH_Drawing_BitmapFormat

Overview

The OH_Drawing_BitmapFormat struct describes the pixel format of a bitmap, including the color type and alpha type.

Since: 8

Related module: Drawing

Header file: drawing_bitmap.h

Summary

Member Variables

Name Description
OH_Drawing_ColorFormat colorFormat Storage format of bitmap pixels.
OH_Drawing_AlphaFormat alphaFormat Alpha format of bitmap pixels.

Member Variable Description

alphaFormat

OH_Drawing_AlphaFormat OH_Drawing_BitmapFormat::alphaFormat

Description

Alpha format of bitmap pixels.

colorFormat

OH_Drawing_ColorFormat OH_Drawing_BitmapFormat::colorFormat

Description

Storage format of bitmap pixels.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkGraphics 2D

harmony 鸿蒙BufferHandle

harmony 鸿蒙ColorSpacePrimaries

harmony 鸿蒙DisplaySoloist_ExpectedRateRange

harmony 鸿蒙_drawing

harmony 鸿蒙NativeColorSpaceManager

harmony 鸿蒙NativeDisplaySoloist

harmony 鸿蒙NativeVsync

harmony 鸿蒙NativeWindow

harmony 鸿蒙OH_Drawing_Font_Metrics

0  赞