harmony 鸿蒙OH_Drawing_BitmapFormat

2025-06-12 浏览 (1)

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

NameDescription
OH_Drawing_ColorFormat colorFormatStorage format of bitmap pixels.
OH_Drawing_AlphaFormat alphaFormatAlpha 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

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/GjSsFb