提交 79621486 编写于 作者: X xu-rui-w

createPixelMap示例修改

Signed-off-by: Nxu-rui-w <xurui101@huawei.com>
上级 9dc2e484
......@@ -1449,11 +1449,9 @@ createPixelMap(callback: AsyncCallback\<PixelMap>): void
**示例:**
```js
imageSourceApi.createPixelMap(pixelmap => {
console.log('Succeeded in creating pixelmap object.');
}).catch(error => {
console.log('Failed to create pixelmap object.');
})
imageSourceApi.createPixelMap((err, pixelmap) => {
console.info('Succeeded in creating pixelmap object.')
})
```
### createPixelMap<sup>7+</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册