diff --git a/en/application-dev/reference/native-apis/_o_h___drawing___bitmap_format.md b/en/application-dev/reference/native-apis/_o_h___drawing___bitmap_format.md index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..ca8f27de37d540f6080ce2ece7b8178685ef2975 100644 --- a/en/application-dev/reference/native-apis/_o_h___drawing___bitmap_format.md +++ b/en/application-dev/reference/native-apis/_o_h___drawing___bitmap_format.md @@ -0,0 +1,47 @@ +# OH_Drawing_BitmapFormat + + +## Overview + +Defines the pixel format of a bitmap, including the color type and alpha type. + +**Since:** +8 + +**Related Modules:** + +[Drawing](_drawing.md) + + +## Summary + + +### Member Variables + +| Name | Description | +| -------- | -------- | +| [colorFormat](#colorformat) | Storage format of bitmap pixels | +| [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