Update README.md

This commit is contained in:
Ivan Vorobei
2019-06-27 12:53:33 +03:00
parent bdaed4287a
commit 4642cea109

View File

@@ -64,7 +64,9 @@ Also include:
For add 3D rotation for back cards use code:
```swift
.rotation3DEffect(Angle(degrees: dragState.isActive ? 0 : 60), axis: (x: 10.0, y: 10.0, z: 10.0))
.rotation3DEffect(
Angle(degrees: dragState.isActive ? 0 : 60), axis: (x: 10.0, y: 10.0, z: 10.0)
)
```
For medium card use 30 angles.
@@ -99,14 +101,6 @@ For change state using `@State` as property:
@State var show = false
```
#### Frame
Size of area attach to state of property `show`:
```swift
.frame(width: show ? 350 : 290, height: show ? 420 : 260)
```
## Transition And Blur
<img src="Resources/TransitionBlur.png" width="700">