Add a height parameter for stacking multiple glorified items.
A height above 0 will impart a small offset during rotation.
| Parameter |
Type |
Default Value |
Description |
height |
CGFloat |
0 |
Height of the item from its background |
Example Usage Scenario:
ZStack {
Image("badge-background")
.glorified()
Image("badge-detail")
.glorified(height: 50)
}
Add a height parameter for stacking multiple glorified items.
A height above 0 will impart a small offset during rotation.
heightCGFloat0Example Usage Scenario: