Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
58f23381
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
58f23381
编写于
8月 09, 2023
作者:
G
Gloria
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update docs against 21358+21408
Signed-off-by: wusongqing<wusongqing@huawei.com>
上级
854d5fef
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
12 addition
and
12 deletion
+12
-12
en/application-dev/reference/apis/js-apis-effectKit.md
en/application-dev/reference/apis/js-apis-effectKit.md
+7
-7
en/application-dev/reference/apis/js-apis-linkedlist.md
en/application-dev/reference/apis/js-apis-linkedlist.md
+5
-5
未找到文件。
en/application-dev/reference/apis/js-apis-effectKit.md
浏览文件 @
58f23381
...
...
@@ -21,7 +21,7 @@ import effectKit from '@ohos.effectKit';
## effectKit.createEffect
createEffect(source: image.PixelMap): Filter
Creates a
**Filter**
instance based on
the
pixel map.
Creates a
**Filter**
instance based on
a
pixel map.
**System capability**
: SystemCapability.Multimedia.Image.Core
...
...
@@ -53,7 +53,7 @@ image.createPixelMap(color, opts).then((pixelMap) => {
createColorPicker(source: image.PixelMap): Promise
\<
ColorPicker>
Creates a
**ColorPicker**
instance based on
the
pixel map. This API uses a promise to return the result.
Creates a
**ColorPicker**
instance based on
a
pixel map. This API uses a promise to return the result.
**System capability**
: SystemCapability.Multimedia.Image.Core
...
...
@@ -87,7 +87,7 @@ image.createPixelMap(color, opts).then((pixelMap) => {
createColorPicker(source: image.PixelMap, callback: AsyncCallback
\<
ColorPicker>): void
Creates a
**ColorPicker**
instance based on
the
pixel map. This API uses an asynchronous callback to return the result.
Creates a
**ColorPicker**
instance based on
a
pixel map. This API uses an asynchronous callback to return the result.
**System capability**
: SystemCapability.Multimedia.Image.Core
...
...
@@ -124,10 +124,10 @@ A class that stores the color picked.
| Name | Type | Readable| Writable| Description |
| ------ | ----- | ---- | ---- | ---------------- |
| red | number | Yes | No | Value of the red component. |
| green | number | Yes | No | Value of the green component. |
| blue | number | Yes | No | Value of the blue component. |
| alpha | number | Yes | No | Value of the alpha component. |
| red | number | Yes | No | Value of the red component.
The value range is [0x0, 0xFF].
|
| green | number | Yes | No | Value of the green component.
The value range is [0x0, 0xFF].
|
| blue | number | Yes | No | Value of the blue component.
The value range is [0x0, 0xFF].
|
| alpha | number | Yes | No | Value of the alpha component.
The value range is [0x0, 0xFF].
|
## ColorPicker
...
...
en/application-dev/reference/apis/js-apis-linkedlist.md
浏览文件 @
58f23381
...
...
@@ -145,8 +145,8 @@ Inserts an element at the specified position in this container.
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| element | T | Yes| Target element.|
| index | number | Yes| Index of the position where the element is to be inserted.|
| element | T | Yes| Target element.|
**Error codes**
...
...
@@ -607,15 +607,15 @@ Uses a callback to traverse the elements in this container and obtain their posi
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| callbackFn | function | Yes| Callback invoked to traverse the elements in the container.|
| thisArg | Object | No| Value
to use when the callback is invoked
.|
| thisArg | Object | No| Value
of
**this**
to use when
**callbackFn**
is invoked. The default value is this instance
.|
callback
f
n
callback
F
n
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| value | T | Yes| Value of the element that is currently traversed.|
| index | number | No| Position index of the element that is currently traversed.|
| LinkedList | LinkedList
<
T
>
| No| Instance that
invokes the
**forEach**
API
.|
| index | number | No| Position index of the element that is currently traversed.
The default value is
**0**
.
|
| LinkedList | LinkedList
<
T
>
| No| Instance that
calls the
**forEach**
API. The default value is this instance
.|
**Error codes**
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录