未验证 提交 fd0bfc83 编写于 作者: R renhw 提交者: Gitee

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

Signed-off-by: Nrenhw <renhongwei9@huawei.com>
上级 7744a0fb
...@@ -1100,7 +1100,7 @@ CreateIncrementalSource(buf: ArrayBuffer): ImageSource ...@@ -1100,7 +1100,7 @@ CreateIncrementalSource(buf: ArrayBuffer): ImageSource
```js ```js
const buf = new ArrayBuffer(96); //96为需要创建的像素buffer大小,取值为:height * width *4 const buf = new ArrayBuffer(96); //96为需要创建的像素buffer大小,取值为:height * width *4
const imageSourceIncrementalSApi = image.createIncrementalSource(buf); const imageSourceIncrementalSApi = image.CreateIncrementalSource(buf);
``` ```
## image.CreateIncrementalSource<sup>9+</sup> ## image.CreateIncrementalSource<sup>9+</sup>
...@@ -1128,7 +1128,7 @@ CreateIncrementalSource(buf: ArrayBuffer, options?: SourceOptions): ImageSource ...@@ -1128,7 +1128,7 @@ CreateIncrementalSource(buf: ArrayBuffer, options?: SourceOptions): ImageSource
```js ```js
const buf = new ArrayBuffer(96); //96为需要创建的像素buffer大小,取值为:height * width *4 const buf = new ArrayBuffer(96); //96为需要创建的像素buffer大小,取值为:height * width *4
const imageSourceIncrementalSApi = image.createIncrementalSource(buf); const imageSourceIncrementalSApi = image.CreateIncrementalSource(buf);
``` ```
## ImageSource ## ImageSource
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册