> The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version.
## Modules to Import
...
...
@@ -20,7 +21,7 @@ Creates a **PixelMap** object. This API uses a promise to return the result.
| colors | ArrayBuffer | Yes | Color array in BGRA_8888 format. |
| options | [InitializationOptions](#initializationoptions8) | Yes | Pixel properties, including the alpha type, size, scale mode, pixel format, and editable.|
**Return value**
...
...
@@ -32,9 +33,11 @@ Creates a **PixelMap** object. This API uses a promise to return the result.