Compare commits

..

No commits in common. "ddb8fc89beb8bed4bb78fdfe4214ab4aed1487d2" and "565938c98ad98858806469311d129257eb06ff3d" have entirely different histories.

4 changed files with 4 additions and 12 deletions

View File

@ -166,7 +166,7 @@ ImageKnifeComponent({
.rotate({ angle: 90 }) // 旋转90度
.contrast(12) // 对比度滤波器
```
变换相关属性,可叠加实现组合变换效果
变换相关属性,可叠加实现组合变换效果
圆形裁剪变换示例
@ -245,7 +245,7 @@ ImageKnifeComponent({ ImageKnifeOption: new ImageKnifeOption(
}).width(100).height(100)
```
#### 9.ImageKnifeComponent - syncLoad
设置是否同步加载图片,默认是异步加载。建议加载尺寸较小的Resource图片时将syncLoad设为true因为耗时较短在主线程上执行即可
设置是否同步加载图片,默认是异步加载。建议加载尺寸较小的本地图片时将syncLoad设为true因为耗时较短在主线程上执行即可
```
ImageKnifeComponent({
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)
,当然,也非常欢迎发 [PR](https://gitee.com/openharmony-tpc/ImageKnife/pulls) 共建
给我们,当然,我们也非常欢迎你给我们发 [PR](https://gitee.com/openharmony-tpc/ImageKnife/issues)
## 开源协议

View File

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

View File

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