OH_Drawing_BitmapFormat

Overview

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

Since: 8

Related module: Drawing

Summary

Member Variables

Name Description
OH_Drawing_ColorFormatcolorFormat Describes the storage format of bitmap pixels.
OH_Drawing_AlphaFormatalphaFormat Describes the alpha format of bitmap pixels.

Member Variable Description

alphaFormat

OH_Drawing_AlphaFormat OH_Drawing_BitmapFormat::alphaFormat

Description

Describes the alpha format of bitmap pixels.

colorFormat

OH_Drawing_ColorFormat OH_Drawing_BitmapFormat::colorFormat

Description

Describes the storage format of bitmap pixels.