OH_Drawing_BitmapFormat

Overview

Defines the pixel format of a bitmap, including the color type and alpha type.

Since: 8

Related Modules:

Drawing

Summary

Member Variables

Name Description
colorFormat Storage format of bitmap pixels
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