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

!8302 【ACE子系统】新增接口调用

Merge pull request !8302 from hekun/OpenHarmony-3.2-Release
// @ts-nocheck
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
......@@ -50,6 +50,7 @@ struct Canvas2Example {
this.offContext.fillStyle = '#0000ff';
this.offContext.fillRect(20, 160, 150, 100);
let image = this.offContext.transferToImageBitmap();
this.context.imageSmoothingQuality = "high";
this.context.transferFromImageBitmap(image);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册