未验证 提交 af9afc41 编写于 作者: O openharmony_ci 提交者: Gitee

!11592 【轻量级 PR】:update zh-cn/application-dev/reference/apis/js-apis-colorSpaceManager.md.

Merge pull request !11592 from 葛亚芳/N/A
......@@ -166,7 +166,7 @@ getColorSpaceName(): ColorSpace
```js
try {
let csType = colorSpace.getColorSpaceName();
colorSpace.getColorSpaceName();
} catch (err) {
console.log(`Fail to get colorSpace's name. Cause: ` + JSON.stringify(err));
}
......@@ -198,7 +198,7 @@ getWhitePoint(): Array\<number\>
```js
try {
let wp = colorSpace.getWhitePoint();
colorSpace.getWhitePoint();
} catch (err) {
console.log(`Failed to get white point. Cause: ` + JSON.stringify(err));
}
......@@ -230,9 +230,8 @@ getGamma(): number
```js
try {
let gamma = colorSpace.getGamma();
colorSpace.getGamma();
} catch (err) {
console.log(`Failed to get gamma. Cause: ` + JSON.stringify(err));
}
```
```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册