1.add screenshot folder & adding gif animation for README.md show
2.StorageTestDiskLruCache.ets & TestAllTypeImageKnifeComponentPage Code optimization Signed-off-by: zhoulisheng <635547767@qq.com>
This commit is contained in:
parent
b5b7aa97f3
commit
aa015129d2
|
@ -146,9 +146,6 @@ struct StorageTestDiskLruCache {
|
||||||
this.imageKnifeChangeSource(data)
|
this.imageKnifeChangeSource(data)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (this.imageKnifeOption.transformations) {
|
|
||||||
request.transforms(this.imageKnifeOption.transformations)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.imageKnifeOption.size) {
|
if (this.imageKnifeOption.size) {
|
||||||
request.setImageViewSize(this.imageKnifeOption.size)
|
request.setImageViewSize(this.imageKnifeOption.size)
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
import {ImageKnifeComponent} from '@ohos/imageknife'
|
import {ImageKnifeComponent} from '@ohos/imageknife'
|
||||||
import {ImageKnifeOption} from '@ohos/imageknife'
|
import {ImageKnifeOption} from '@ohos/imageknife'
|
||||||
import {RotateImageTransformation} from '@ohos/imageknife'
|
import {RotateImageTransformation} from '@ohos/imageknife'
|
||||||
|
import {TransformType} from '@ohos/imageknife'
|
||||||
|
|
||||||
@Entry
|
@Entry
|
||||||
@Component
|
@Component
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 3.9 MiB |
Binary file not shown.
After Width: | Height: | Size: 3.7 MiB |
Binary file not shown.
After Width: | Height: | Size: 30 MiB |
Loading…
Reference in New Issue