OHDrawingBitmapFormat


OH_Drawing_BitmapFormat

Overview

Related Modules:

Drawing

Description:

结构体用于描述位图像素的格式,包括颜色类型和透明度类型

Since:

8

Version:

1.0

Summary

Public Attributes

Public Attribute Name Description
colorFormat
alphaFormat

Details

Member Data

alphaFormat

OH_Drawing_AlphaFormat OH_Drawing_BitmapFormat::alphaFormat
1

Description:

描述位图像素的透明度分量

colorFormat

OH_Drawing_ColorFormat OH_Drawing_BitmapFormat::colorFormat
1

Description:

描述位图像素的存储格式