Compare commits

...

3 Commits

Author SHA1 Message Date
hexagon1337 1632eca85f
Pre Merge pull request !388 from hexagon1337/master 2024-09-25 03:04:08 +00:00
hexagon1337 ddb8fc89be 修改README_zh屏蔽词
Signed-off-by: hexagon1337 <liuyaoming3@h-partners.com>
2024-09-25 11:03:44 +08:00
hexagon1337 858e28c3a2 补充imagetransformation和removecache页面的国际化
Signed-off-by: hexagon1337 <liuyaoming3@h-partners.com>
2024-09-25 10:34:33 +08:00
4 changed files with 12 additions and 4 deletions

View File

@ -166,7 +166,7 @@ ImageKnifeComponent({
.rotate({ angle: 90 }) // 旋转90度 .rotate({ angle: 90 }) // 旋转90度
.contrast(12) // 对比度滤波器 .contrast(12) // 对比度滤波器
``` ```
变换相关属性,可叠加实现组合变换效果 变换相关属性,可叠加实现组合变换效果
圆形裁剪变换示例 圆形裁剪变换示例
@ -245,7 +245,7 @@ ImageKnifeComponent({ ImageKnifeOption: new ImageKnifeOption(
}).width(100).height(100) }).width(100).height(100)
``` ```
#### 9.ImageKnifeComponent - syncLoad #### 9.ImageKnifeComponent - syncLoad
设置是否同步加载图片,默认是异步加载。建议加载尺寸较小的本地图片时将syncLoad设为true因为耗时较短在主线程上执行即可 设置是否同步加载图片,默认是异步加载。建议加载尺寸较小的Resource图片时将syncLoad设为true因为耗时较短在主线程上执行即可
``` ```
ImageKnifeComponent({ ImageKnifeComponent({
imageKnifeOption:new ImageKnifeOption({ imageKnifeOption:new ImageKnifeOption({
@ -363,7 +363,7 @@ DevEco Studio 5.0 Canary35.0.3.502--SDK:API12 (5.0.0.31)
## 贡献代码 ## 贡献代码
使用过程中发现任何问题都可以提 [issue](https://gitee.com/openharmony-tpc/ImageKnife/issues) 使用过程中发现任何问题都可以提 [issue](https://gitee.com/openharmony-tpc/ImageKnife/issues)
给我们,当然,我们也非常欢迎你给我们发 [PR](https://gitee.com/openharmony-tpc/ImageKnife/issues) ,当然,也非常欢迎发 [PR](https://gitee.com/openharmony-tpc/ImageKnife/pulls) 共建
## 开源协议 ## 开源协议

View File

@ -45,7 +45,7 @@ struct LoadStatePage {
@Local typeValue: string = "" @Local typeValue: string = ""
build() { build() {
Column() { Column() {
Text('测试失败场景请先关闭网络,并保证本地没有此网络图片的缓存') Text($r('app.string.TIPS'))
.margin({ top: 20 }) .margin({ top: 20 })
Row() { Row() {
Button($r('app.string.Test_failure_success')) Button($r('app.string.Test_failure_success'))

View File

@ -363,6 +363,10 @@
{ {
"name": "Mask_effect", "name": "Mask_effect",
"value": "Mask effect" "value": "Mask effect"
},
{
"name": "TIPS",
"value": "Please shut down the network first and ensure that there is no cache of images from this network in the test failure scenario locally"
} }
] ]
} }

View File

@ -359,6 +359,10 @@
{ {
"name": "Mask_effect", "name": "Mask_effect",
"value": "遮罩效果" "value": "遮罩效果"
},
{
"name": "TIPS",
"value": "测试失败场景请先关闭网络,并保证本地没有此网络图片的缓存"
} }
] ]
} }