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

新增8个接口

Signed-off-by: Nxu-rui-w <xurui101@huawei.com>
上级 cf51aa57
...@@ -486,7 +486,9 @@ opacity(rate: number, callback: AsyncCallback\<void>): void ...@@ -486,7 +486,9 @@ opacity(rate: number, callback: AsyncCallback\<void>): void
**示例:** **示例:**
```js ```js
await pixelMap.opacity(0.5); async function () {
await pixelMap.opacity(0.5);
}
``` ```
### opacity<sup>9+</sup> ### opacity<sup>9+</sup>
...@@ -512,7 +514,9 @@ opacity(rate: number): Promise\<void> ...@@ -512,7 +514,9 @@ opacity(rate: number): Promise\<void>
**示例:** **示例:**
```js ```js
await pixelMap.opacity(0.5); async function () {
await pixelMap.opacity(0.5);
}
``` ```
### createAlphaPixelmap<sup>9+</sup> ### createAlphaPixelmap<sup>9+</sup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册