Compare commits
No commits in common. "ddb8fc89beb8bed4bb78fdfe4214ab4aed1487d2" and "565938c98ad98858806469311d129257eb06ff3d" have entirely different histories.
ddb8fc89be
...
565938c98a
|
@ -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
|
||||||
设置是否同步加载图片,默认是异步加载。建议加载尺寸较小的Resource图片时将syncLoad设为true,因为耗时较短,在主线程上执行即可
|
设置是否同步加载图片,默认是异步加载。建议加载尺寸较小的本地图片时将syncLoad设为true,因为耗时较短,在主线程上执行即可
|
||||||
```
|
```
|
||||||
ImageKnifeComponent({
|
ImageKnifeComponent({
|
||||||
imageKnifeOption:new ImageKnifeOption({
|
imageKnifeOption:new ImageKnifeOption({
|
||||||
|
@ -363,7 +363,7 @@ DevEco Studio 5.0 Canary3(5.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/pulls) 共建。
|
给我们,当然,我们也非常欢迎你给我们发 [PR](https://gitee.com/openharmony-tpc/ImageKnife/issues) 。
|
||||||
|
|
||||||
## 开源协议
|
## 开源协议
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ struct LoadStatePage {
|
||||||
@Local typeValue: string = ""
|
@Local typeValue: string = ""
|
||||||
build() {
|
build() {
|
||||||
Column() {
|
Column() {
|
||||||
Text($r('app.string.TIPS'))
|
Text('测试失败场景请先关闭网络,并保证本地没有此网络图片的缓存')
|
||||||
.margin({ top: 20 })
|
.margin({ top: 20 })
|
||||||
Row() {
|
Row() {
|
||||||
Button($r('app.string.Test_failure_success'))
|
Button($r('app.string.Test_failure_success'))
|
||||||
|
|
|
@ -363,10 +363,6 @@
|
||||||
{
|
{
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -359,10 +359,6 @@
|
||||||
{
|
{
|
||||||
"name": "Mask_effect",
|
"name": "Mask_effect",
|
||||||
"value": "遮罩效果"
|
"value": "遮罩效果"
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "TIPS",
|
|
||||||
"value": "测试失败场景请先关闭网络,并保证本地没有此网络图片的缓存"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue