未验证 提交 9d4c7294 编写于 作者: R renhw001 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-image.md.

Signed-off-by: Nrenhw001 <renhongwei9@huawei.com>
上级 e9c7774e
......@@ -1599,10 +1599,10 @@ let decodeOpts = {
editable: true,
desiredSize: { width: 198, height: 202 },
rotate: 0,
desiredPixelFormat: RGBA_8888,
desiredPixelFormat: 3,
index: 0,
};
let pixelmaplist = await imageSourceApi.createPixelMapList(decodeOpts);
let pixelmaplist = imageSourceApi.createPixelMapList(decodeOpts);
```
### createPixelMapList<sup>10+</sup>
......@@ -1650,7 +1650,7 @@ let decodeOpts = {
editable: true,
desiredSize: { width: 198, height: 202 },
rotate: 0,
desiredPixelFormat: RGBA_8888,
desiredPixelFormat: 3,
index: 0,
};
imageSourceApi.createPixelMap(decodeOpts, pixelmaplist => {
......@@ -1697,7 +1697,7 @@ getDelayTime(): Promise<Array\<number>>;
**示例:**
```js
let delayTimes = await imageSourceApi.getDelayTime();
let delayTimes = imageSourceApi.getDelayTime();
```
### getFrameCount<sup>10+</sup>
......@@ -1739,7 +1739,7 @@ getFrameCount(): Promise\<number>;
**示例:**
```js
let frameCount = await imageSourceApi.getFrameCount();
let frameCount = imageSourceApi.getFrameCount();
```
### release
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册