add enum in pixelmapformat

Signed-off-by: fengzewu <fengzewu@huawei.com>
This commit is contained in:
fengzewu 2022-07-28 19:09:00 +08:00
parent ffb6a7fede
commit f97b565ae0

View File

@ -51,6 +51,14 @@ declare namespace image {
* @syscap SystemCapability.Multimedia.Image.Core
*/
RGBA_8888 = 3,
/**
* Indicates that each pixel is stored on 32 bits. Components B, G, R, and A each occupies 8 bits
* and are stored from the higher-order to the lower-order bits.
* @since 9
* @syscap SystemCapability.Multimedia.Image.Core
*/
BGRA_8888 = 4,
}
/**