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

!17589 image挑单3.2release

Merge pull request !17589 from renhw001/OpenHarmony-3.2-Release
...@@ -28,10 +28,10 @@ ...@@ -28,10 +28,10 @@
- 裁剪 - 裁剪
``` ```
// x:裁剪起始点横坐标0 // x裁剪起始点横坐标0
// y:裁剪起始点纵坐标0 // y裁剪起始点纵坐标0
// height:裁剪高度400,方向为从上往下 // height:裁剪高度400,方向为从上往下(裁剪后的图片高度为400)
// width:裁剪宽度400,方向为从左到右 // width:裁剪宽度400,方向为从左到右(裁剪后的图片宽度为400)
pixelMap.crop({x: 0, y: 0, size: { height: 400, width: 400 } }); pixelMap.crop({x: 0, y: 0, size: { height: 400, width: 400 } });
``` ```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册