From 1af062efd1f818c0742520e2d37e085f1962e76c Mon Sep 17 00:00:00 2001 From: zengyawen Date: Fri, 14 Apr 2023 09:19:17 +0000 Subject: [PATCH] add nativeapis Signed-off-by: zengyawen --- .../_o_h___drawing___bitmap_format.md | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) 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 e69de29bb2..ca8f27de37 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 -- GitLab