Skip to content

Add height parameter #1

@cameronshemilt

Description

@cameronshemilt

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)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions