未验证 提交 2da3a1ed 编写于 作者: 刘关鹏 提交者: Gitee

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

Signed-off-by: N刘关鹏 <liuguanpeng1@huawei.com>
上级 8e66106f
...@@ -751,7 +751,7 @@ rotate(angle: number, callback: AsyncCallback\<void>): void ...@@ -751,7 +751,7 @@ rotate(angle: number, callback: AsyncCallback\<void>): void
import {BusinessError} from '@ohos.base' import {BusinessError} from '@ohos.base'
let angle = 90.0; let angle = 90.0;
pixelmap.rotate(angle, (err : BusinessError) => { pixelmap.rotate(angle, (err : BusinessError) => {
if (err) { if (err) {
console.error("Failed to set rotation."); console.error("Failed to set rotation.");
return; return;
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册